 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 537389  bytes 150122966 (143.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 684106  bytes 125175139 (119.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 272912  bytes 47915882 (45.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 272912  bytes 47915882 (45.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 537452  bytes 150140297 (143.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 684196  bytes 125187309 (119.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 272912  bytes 47915882 (45.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 272912  bytes 47915882 (45.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 537499  bytes 150153926 (143.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 684257  bytes 125195349 (119.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 272912  bytes 47915882 (45.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 272912  bytes 47915882 (45.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c4f30>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 537543  bytes 150167150 (143.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 684322  bytes 125203727 (119.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 272912  bytes 47915882 (45.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 272912  bytes 47915882 (45.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5821ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 537583  bytes 150179846 (143.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 684374  bytes 125211008 (119.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 272912  bytes 47915882 (45.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 272912  bytes 47915882 (45.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58d3f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 537622  bytes 150192685 (143.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 684436  bytes 125219087 (119.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 272912  bytes 47915882 (45.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 272912  bytes 47915882 (45.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fbfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 537662  bytes 150205440 (143.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 684492  bytes 125226662 (119.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 272912  bytes 47915882 (45.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 272912  bytes 47915882 (45.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5886fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 537705  bytes 150218575 (143.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 684556  bytes 125234951 (119.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 272912  bytes 47915882 (45.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 272912  bytes 47915882 (45.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581b490>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 537747  bytes 150231457 (143.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 684612  bytes 125242542 (119.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 272912  bytes 47915882 (45.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 272912  bytes 47915882 (45.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e8f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 537785  bytes 150244013 (143.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 684664  bytes 125249785 (119.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 272912  bytes 47915882 (45.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 272912  bytes 47915882 (45.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5827f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 537829  bytes 150257205 (143.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 684728  bytes 125258130 (119.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 272912  bytes 47915882 (45.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 272912  bytes 47915882 (45.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f7fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 537866  bytes 150269697 (143.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 684783  bytes 125265580 (119.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 272918  bytes 47916242 (45.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 272918  bytes 47916242 (45.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58520f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 537920  bytes 150284042 (143.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 684856  bytes 125274679 (119.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 272919  bytes 47916302 (45.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 272919  bytes 47916302 (45.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58af5d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 537978  bytes 150300848 (143.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 684934  bytes 125285924 (119.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 272919  bytes 47916302 (45.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 272919  bytes 47916302 (45.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c6ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 538023  bytes 150314207 (143.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 684999  bytes 125294328 (119.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 272919  bytes 47916302 (45.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 272919  bytes 47916302 (45.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58bdf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 538063  bytes 150326977 (143.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 685056  bytes 125301992 (119.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 272919  bytes 47916302 (45.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 272919  bytes 47916302 (45.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5853fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 538105  bytes 150339983 (143.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 685116  bytes 125309891 (119.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 272919  bytes 47916302 (45.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 272919  bytes 47916302 (45.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a3f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 538145  bytes 150352768 (143.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 685176  bytes 125317875 (119.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 272919  bytes 47916302 (45.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 272919  bytes 47916302 (45.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5858fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 538188  bytes 150365824 (143.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 685232  bytes 125325518 (119.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 272919  bytes 47916302 (45.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 272919  bytes 47916302 (45.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585afb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 538226  bytes 150378351 (143.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 685285  bytes 125332864 (119.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 272919  bytes 47916302 (45.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 272919  bytes 47916302 (45.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587bff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 538266  bytes 150391172 (143.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 685341  bytes 125340605 (119.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 272919  bytes 47916302 (45.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 272919  bytes 47916302 (45.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57ff330>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 538305  bytes 150403894 (143.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 685402  bytes 125348534 (119.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 272919  bytes 47916302 (45.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 272919  bytes 47916302 (45.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58cbff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 538354  bytes 150417714 (143.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 685464  bytes 125356727 (119.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 272919  bytes 47916302 (45.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 272919  bytes 47916302 (45.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5816fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 538396  bytes 150430676 (143.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 685521  bytes 125364416 (119.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 272925  bytes 47916662 (45.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 272925  bytes 47916662 (45.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5823fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 538436  bytes 150443428 (143.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 685574  bytes 125371831 (119.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 272926  bytes 47916722 (45.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 272926  bytes 47916722 (45.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585c110>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 538497  bytes 150460658 (143.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 685659  bytes 125383747 (119.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 272926  bytes 47916722 (45.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 272926  bytes 47916722 (45.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58aefd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 538540  bytes 150473712 (143.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 685719  bytes 125391796 (119.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 272926  bytes 47916722 (45.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 272926  bytes 47916722 (45.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5826ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 538580  bytes 150486517 (143.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 685777  bytes 125399490 (119.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 272926  bytes 47916722 (45.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 272926  bytes 47916722 (45.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582bf50>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 538686  bytes 150507256 (143.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 686114  bytes 125745537 (119.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273016  bytes 48243935 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273016  bytes 48243935 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57eaff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 538730  bytes 150520276 (143.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 686167  bytes 125752868 (119.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273016  bytes 48243935 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273016  bytes 48243935 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5864fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 538777  bytes 150533764 (143.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 686235  bytes 125761499 (119.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273016  bytes 48243935 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273016  bytes 48243935 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5874f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 538816  bytes 150546366 (143.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 686287  bytes 125768752 (119.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273016  bytes 48243935 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273016  bytes 48243935 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5893ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 538866  bytes 150560339 (143.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 686356  bytes 125777445 (119.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273016  bytes 48243935 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273016  bytes 48243935 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5897f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 538908  bytes 150573167 (143.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 686408  bytes 125784698 (119.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273016  bytes 48243935 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273016  bytes 48243935 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5872fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 538951  bytes 150586200 (143.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 686468  bytes 125792605 (119.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273016  bytes 48243935 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273016  bytes 48243935 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5829fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 538995  bytes 150599370 (143.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 686527  bytes 125800610 (119.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273021  bytes 48244235 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273021  bytes 48244235 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581eff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 539038  bytes 150612440 (143.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 686589  bytes 125808709 (119.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273023  bytes 48244355 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273023  bytes 48244355 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5815f30>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 539095  bytes 150629174 (143.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 686668  bytes 125820005 (119.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273023  bytes 48244355 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273023  bytes 48244355 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f4fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 539140  bytes 150642484 (143.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 686730  bytes 125828215 (119.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273023  bytes 48244355 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273023  bytes 48244355 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b0fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 539180  bytes 150655160 (143.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 686784  bytes 125835616 (120.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273023  bytes 48244355 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273023  bytes 48244355 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5818f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 539220  bytes 150667866 (143.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 686839  bytes 125843099 (120.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273023  bytes 48244355 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273023  bytes 48244355 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5831ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 539260  bytes 150680649 (143.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 686899  bytes 125850961 (120.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273023  bytes 48244355 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273023  bytes 48244355 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583df70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 539309  bytes 150694472 (143.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 686961  bytes 125859130 (120.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273023  bytes 48244355 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273023  bytes 48244355 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d8ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 539355  bytes 150707700 (143.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 687023  bytes 125867121 (120.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273023  bytes 48244355 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273023  bytes 48244355 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5847fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 539399  bytes 150720841 (143.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 687083  bytes 125875162 (120.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273023  bytes 48244355 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273023  bytes 48244355 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fdf10>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 539443  bytes 150734010 (143.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 687144  bytes 125883217 (120.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273023  bytes 48244355 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273023  bytes 48244355 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a2fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 539483  bytes 150746720 (143.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 687199  bytes 125890768 (120.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273023  bytes 48244355 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273023  bytes 48244355 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a5ed0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 539528  bytes 150759998 (143.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 687262  bytes 125899021 (120.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273027  bytes 48244595 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273027  bytes 48244595 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fefd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 539572  bytes 150773140 (143.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 687318  bytes 125906626 (120.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273030  bytes 48244775 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273030  bytes 48244775 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5851fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 539613  bytes 150786065 (143.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 687375  bytes 125914328 (120.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273030  bytes 48244775 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273030  bytes 48244775 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d6fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 539676  bytes 150803434 (143.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 687462  bytes 125926298 (120.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273030  bytes 48244775 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273030  bytes 48244775 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5833fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 539714  bytes 150815964 (143.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 687513  bytes 125933444 (120.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273030  bytes 48244775 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273030  bytes 48244775 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5809170>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 539765  bytes 150830084 (143.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 687586  bytes 125942549 (120.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273030  bytes 48244775 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273030  bytes 48244775 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58442f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 539806  bytes 150842893 (143.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 687637  bytes 125949716 (120.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273030  bytes 48244775 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273030  bytes 48244775 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5835fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 539848  bytes 150855879 (143.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 687696  bytes 125957557 (120.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273030  bytes 48244775 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273030  bytes 48244775 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589f0f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 539893  bytes 150869116 (143.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 687755  bytes 125965602 (120.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273030  bytes 48244775 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273030  bytes 48244775 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f9ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 539938  bytes 150882320 (143.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 687815  bytes 125973529 (120.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273030  bytes 48244775 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273030  bytes 48244775 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb580ff90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 539980  bytes 150895219 (143.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 687871  bytes 125981117 (120.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273030  bytes 48244775 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273030  bytes 48244775 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58abfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 540026  bytes 150908503 (143.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 687930  bytes 125988962 (120.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273030  bytes 48244775 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273030  bytes 48244775 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f2fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 540066  bytes 150921317 (143.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 687991  bytes 125997001 (120.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273030  bytes 48244775 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273030  bytes 48244775 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588c170>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 540109  bytes 150934294 (143.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 688044  bytes 126004384 (120.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273036  bytes 48245135 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273036  bytes 48245135 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57ef310>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 540152  bytes 150947385 (143.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 688108  bytes 126012701 (120.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273037  bytes 48245195 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273037  bytes 48245195 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5814fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 540220  bytes 150965392 (143.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 688197  bytes 126024951 (120.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273037  bytes 48245195 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273037  bytes 48245195 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b5ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 540265  bytes 150978640 (143.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 688260  bytes 126033181 (120.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273037  bytes 48245195 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273037  bytes 48245195 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57eaff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 540305  bytes 150991406 (143.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 688315  bytes 126040709 (120.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273037  bytes 48245195 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273037  bytes 48245195 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5838fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 540349  bytes 151004628 (144.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 688377  bytes 126048832 (120.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273037  bytes 48245195 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273037  bytes 48245195 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57dbf70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 540393  bytes 151017765 (144.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 688438  bytes 126056993 (120.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273037  bytes 48245195 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273037  bytes 48245195 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58cdfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 540435  bytes 151030726 (144.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 688497  bytes 126064796 (120.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273037  bytes 48245195 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273037  bytes 48245195 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fefb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 540475  bytes 151043478 (144.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 688553  bytes 126072383 (120.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273037  bytes 48245195 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273037  bytes 48245195 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58214b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 540519  bytes 151056720 (144.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 688612  bytes 126080374 (120.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273037  bytes 48245195 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273037  bytes 48245195 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f7ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 540560  bytes 151069604 (144.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 688673  bytes 126088499 (120.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273037  bytes 48245195 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273037  bytes 48245195 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5874fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 540598  bytes 151082187 (144.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 688729  bytes 126096043 (120.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273037  bytes 48245195 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273037  bytes 48245195 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b3fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 540646  bytes 151096032 (144.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 688797  bytes 126104677 (120.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273043  bytes 48245555 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273043  bytes 48245555 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c4f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 540685  bytes 151108674 (144.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 688851  bytes 126112025 (120.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273044  bytes 48245615 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273044  bytes 48245615 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585be90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 540749  bytes 151126215 (144.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 688945  bytes 126124672 (120.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273044  bytes 48245615 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273044  bytes 48245615 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5840fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 540792  bytes 151139349 (144.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 689001  bytes 126132410 (120.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273044  bytes 48245615 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273044  bytes 48245615 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583efb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 540835  bytes 151152402 (144.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 689065  bytes 126140687 (120.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273044  bytes 48245615 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273044  bytes 48245615 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5805110>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 540874  bytes 151165020 (144.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 689121  bytes 126148215 (120.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273044  bytes 48245615 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273044  bytes 48245615 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5864fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 540918  bytes 151178161 (144.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 689180  bytes 126156031 (120.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273044  bytes 48245615 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273044  bytes 48245615 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5869130>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 540959  bytes 151191057 (144.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 689240  bytes 126163999 (120.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273044  bytes 48245615 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273044  bytes 48245615 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5835eb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 540998  bytes 151203723 (144.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 689293  bytes 126171384 (120.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273044  bytes 48245615 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273044  bytes 48245615 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5840190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 541040  bytes 151216656 (144.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 689353  bytes 126179210 (120.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273044  bytes 48245615 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273044  bytes 48245615 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb580cfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 541092  bytes 151230795 (144.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 689421  bytes 126187946 (120.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273044  bytes 48245615 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273044  bytes 48245615 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5827ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 541133  bytes 151243772 (144.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 689486  bytes 126196350 (120.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273044  bytes 48245615 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273044  bytes 48245615 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5817f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 541172  bytes 151256468 (144.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 689537  bytes 126203616 (120.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273050  bytes 48245975 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273050  bytes 48245975 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e3f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 541215  bytes 151269575 (144.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 689598  bytes 126211654 (120.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273051  bytes 48246035 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273051  bytes 48246035 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587cff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 541277  bytes 151286855 (144.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 689681  bytes 126223501 (120.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273051  bytes 48246035 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273051  bytes 48246035 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57ef1b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 541319  bytes 151299790 (144.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 689740  bytes 126231313 (120.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273051  bytes 48246035 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273051  bytes 48246035 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582df90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 541361  bytes 151312806 (144.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 689800  bytes 126239364 (120.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273051  bytes 48246035 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273051  bytes 48246035 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58d4fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 541402  bytes 151325656 (144.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 689853  bytes 126246759 (120.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273051  bytes 48246035 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273051  bytes 48246035 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e4fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 541446  bytes 151338825 (144.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 689915  bytes 126254983 (120.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273051  bytes 48246035 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273051  bytes 48246035 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588af70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 541485  bytes 151351515 (144.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 689971  bytes 126262591 (120.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273051  bytes 48246035 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273051  bytes 48246035 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5860f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 541532  bytes 151365268 (144.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 690038  bytes 126271155 (120.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273051  bytes 48246035 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273051  bytes 48246035 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58242f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 541573  bytes 151378145 (144.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 690095  bytes 126278913 (120.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273051  bytes 48246035 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273051  bytes 48246035 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5825fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 541616  bytes 151391223 (144.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 690155  bytes 126286855 (120.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273051  bytes 48246035 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273051  bytes 48246035 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5843fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 541659  bytes 151404381 (144.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 690216  bytes 126295051 (120.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273051  bytes 48246035 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273051  bytes 48246035 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c0ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 541703  bytes 151417490 (144.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 690275  bytes 126302894 (120.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273056  bytes 48246335 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273056  bytes 48246335 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5897ed0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 541741  bytes 151430158 (144.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 690333  bytes 126310786 (120.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273058  bytes 48246455 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273058  bytes 48246455 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58bbfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 541806  bytes 151447628 (144.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 690418  bytes 126322631 (120.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273058  bytes 48246455 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273058  bytes 48246455 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5824f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 541848  bytes 151460570 (144.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 690477  bytes 126330553 (120.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273058  bytes 48246455 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273058  bytes 48246455 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583af90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 541890  bytes 151473448 (144.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 690531  bytes 126338005 (120.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273058  bytes 48246455 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273058  bytes 48246455 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586dfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 541934  bytes 151486691 (144.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 690598  bytes 126346520 (120.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273058  bytes 48246455 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273058  bytes 48246455 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5898ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 541984  bytes 151500572 (144.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 690660  bytes 126354691 (120.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273058  bytes 48246455 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273058  bytes 48246455 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5849fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 542026  bytes 151513528 (144.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 690720  bytes 126362537 (120.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273058  bytes 48246455 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273058  bytes 48246455 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b7f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 542068  bytes 151526502 (144.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 690778  bytes 126370453 (120.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273058  bytes 48246455 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273058  bytes 48246455 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f4fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 542112  bytes 151539675 (144.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 690838  bytes 126378445 (120.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273058  bytes 48246455 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273058  bytes 48246455 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5882f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 542152  bytes 151552391 (144.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 690892  bytes 126385917 (120.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273058  bytes 48246455 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273058  bytes 48246455 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a0f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 542192  bytes 151565181 (144.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 690951  bytes 126393689 (120.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273058  bytes 48246455 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273058  bytes 48246455 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fffd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 542239  bytes 151578563 (144.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 691006  bytes 126401223 (120.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273062  bytes 48246695 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273062  bytes 48246695 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e7fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 542281  bytes 151591521 (144.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 691063  bytes 126408867 (120.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273065  bytes 48246875 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273065  bytes 48246875 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5846f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 542324  bytes 151604556 (144.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 691123  bytes 126416887 (120.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273065  bytes 48246875 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273065  bytes 48246875 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b6f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 542383  bytes 151621456 (144.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 691202  bytes 126428238 (120.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273065  bytes 48246875 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273065  bytes 48246875 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586bfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 542433  bytes 151635434 (144.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 691271  bytes 126436914 (120.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273065  bytes 48246875 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273065  bytes 48246875 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5874ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 542476  bytes 151648443 (144.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 691326  bytes 126444412 (120.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273065  bytes 48246875 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273065  bytes 48246875 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a0ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 542517  bytes 151661321 (144.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 691386  bytes 126452309 (120.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273065  bytes 48246875 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273065  bytes 48246875 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5884350>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 542559  bytes 151674372 (144.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 691445  bytes 126460333 (120.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273065  bytes 48246875 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273065  bytes 48246875 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fefd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 542605  bytes 151687683 (144.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 691507  bytes 126468435 (120.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273065  bytes 48246875 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273065  bytes 48246875 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a6f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 542644  bytes 151700272 (144.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 691560  bytes 126475745 (120.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273065  bytes 48246875 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273065  bytes 48246875 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b7ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 542691  bytes 151713758 (144.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 691625  bytes 126484185 (120.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273065  bytes 48246875 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273065  bytes 48246875 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5867fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 542729  bytes 151726287 (144.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 691680  bytes 126491634 (120.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273065  bytes 48246875 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273065  bytes 48246875 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58bcf10>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 542770  bytes 151739189 (144.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 691734  bytes 126499238 (120.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273065  bytes 48246875 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273065  bytes 48246875 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57faff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 542810  bytes 151752025 (144.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 691795  bytes 126507213 (120.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273071  bytes 48247235 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273071  bytes 48247235 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5840f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 542858  bytes 151765714 (144.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 691857  bytes 126515364 (120.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273072  bytes 48247295 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273072  bytes 48247295 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581afb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 542920  bytes 151782913 (144.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 691942  bytes 126527152 (120.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273072  bytes 48247295 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273072  bytes 48247295 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585cfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 542960  bytes 151795665 (144.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 691996  bytes 126534611 (120.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273072  bytes 48247295 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273072  bytes 48247295 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb580ef90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 543007  bytes 151809138 (144.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 692060  bytes 126542918 (120.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273072  bytes 48247295 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273072  bytes 48247295 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e4f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 543050  bytes 151822188 (144.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 692119  bytes 126550895 (120.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273072  bytes 48247295 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273072  bytes 48247295 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a2ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 543090  bytes 151834974 (144.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 692178  bytes 126558664 (120.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273072  bytes 48247295 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273072  bytes 48247295 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5873190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 543132  bytes 151847855 (144.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 692231  bytes 126566046 (120.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273072  bytes 48247295 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273072  bytes 48247295 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5826ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 543173  bytes 151860696 (144.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 692287  bytes 126573624 (120.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273072  bytes 48247295 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273072  bytes 48247295 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c7ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 543215  bytes 151873686 (144.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 692348  bytes 126581738 (120.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273072  bytes 48247295 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273072  bytes 48247295 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5831f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 543254  bytes 151886298 (144.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 692400  bytes 126589007 (120.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273072  bytes 48247295 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273072  bytes 48247295 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5896f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 543305  bytes 151900352 (144.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 692467  bytes 126597572 (120.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273072  bytes 48247295 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273072  bytes 48247295 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5871f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 543344  bytes 151912972 (144.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 692520  bytes 126604875 (120.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273078  bytes 48247655 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273078  bytes 48247655 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5875f50>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 543392  bytes 151926494 (144.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 692587  bytes 126613420 (120.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273079  bytes 48247715 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273079  bytes 48247715 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58bafd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 543453  bytes 151943739 (144.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 692669  bytes 126625255 (120.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273079  bytes 48247715 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273079  bytes 48247715 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588dff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 543495  bytes 151956734 (144.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 692731  bytes 126633298 (120.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273079  bytes 48247715 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273079  bytes 48247715 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5824ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 543537  bytes 151969556 (144.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 692785  bytes 126640715 (120.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273079  bytes 48247715 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273079  bytes 48247715 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5877fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 543581  bytes 151982693 (144.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 692841  bytes 126648334 (120.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273079  bytes 48247715 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273079  bytes 48247715 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5814ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 543623  bytes 151995661 (144.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 692902  bytes 126656389 (120.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273079  bytes 48247715 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273079  bytes 48247715 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e8f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 543666  bytes 152008695 (144.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 692958  bytes 126664003 (120.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273079  bytes 48247715 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273079  bytes 48247715 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5834f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 543707  bytes 152021567 (144.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 693020  bytes 126672140 (120.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273079  bytes 48247715 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273079  bytes 48247715 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584cfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 543756  bytes 152035338 (144.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 693082  bytes 126680293 (120.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273079  bytes 48247715 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273079  bytes 48247715 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58d2ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 543798  bytes 152048266 (145.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 693141  bytes 126688093 (120.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273079  bytes 48247715 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273079  bytes 48247715 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5820fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 543838  bytes 152061024 (145.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 693194  bytes 126695488 (120.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273079  bytes 48247715 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273079  bytes 48247715 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5847fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 543882  bytes 152074197 (145.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 693256  bytes 126703601 (120.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273085  bytes 48248075 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273085  bytes 48248075 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c9ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 543922  bytes 152086929 (145.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 693311  bytes 126711108 (120.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273086  bytes 48248135 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273086  bytes 48248135 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e7fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 543981  bytes 152103937 (145.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 693397  bytes 126722936 (120.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273086  bytes 48248135 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273086  bytes 48248135 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58bfff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 544026  bytes 152117284 (145.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 693458  bytes 126731087 (120.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273086  bytes 48248135 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273086  bytes 48248135 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a7fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 544068  bytes 152130239 (145.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 693518  bytes 126738914 (120.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273086  bytes 48248135 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273086  bytes 48248135 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58cfff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 544112  bytes 152143320 (145.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 693576  bytes 126746634 (120.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273086  bytes 48248135 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273086  bytes 48248135 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e9fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 544154  bytes 152156257 (145.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 693631  bytes 126754249 (120.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273086  bytes 48248135 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273086  bytes 48248135 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58cfff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 544207  bytes 152170434 (145.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 693700  bytes 126762921 (120.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273086  bytes 48248135 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273086  bytes 48248135 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583dfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 544246  bytes 152183159 (145.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 693756  bytes 126770629 (120.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273086  bytes 48248135 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273086  bytes 48248135 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5822fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 544289  bytes 152196186 (145.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 693815  bytes 126778438 (120.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273086  bytes 48248135 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273086  bytes 48248135 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5808fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 544333  bytes 152209404 (145.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 693876  bytes 126786611 (120.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273086  bytes 48248135 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273086  bytes 48248135 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581efd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 544377  bytes 152222520 (145.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 693938  bytes 126794654 (120.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273086  bytes 48248135 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273086  bytes 48248135 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585bff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 544418  bytes 152235398 (145.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 693997  bytes 126802569 (120.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273091  bytes 48248435 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273091  bytes 48248435 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57dff90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 544461  bytes 152248466 (145.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 694056  bytes 126810425 (120.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273093  bytes 48248555 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273093  bytes 48248555 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5878fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 544522  bytes 152265563 (145.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 694139  bytes 126822081 (120.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273093  bytes 48248555 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273093  bytes 48248555 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b2fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 544566  bytes 152278679 (145.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 694195  bytes 126829704 (120.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273093  bytes 48248555 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273093  bytes 48248555 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5801ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 544606  bytes 152291361 (145.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 694251  bytes 126837249 (120.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273093  bytes 48248555 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273093  bytes 48248555 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e2ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 544653  bytes 152304966 (145.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 694313  bytes 126845402 (120.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273093  bytes 48248555 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273093  bytes 48248555 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e5f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 544700  bytes 152318364 (145.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 694377  bytes 126853701 (120.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273093  bytes 48248555 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273093  bytes 48248555 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5893110>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 544739  bytes 152331019 (145.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 694430  bytes 126861036 (120.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273093  bytes 48248555 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273093  bytes 48248555 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589a2d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 544786  bytes 152344515 (145.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 694497  bytes 126869642 (120.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273093  bytes 48248555 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273093  bytes 48248555 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5860fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 544826  bytes 152357270 (145.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 694552  bytes 126877188 (120.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273093  bytes 48248555 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273093  bytes 48248555 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5887ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 544869  bytes 152370377 (145.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 694615  bytes 126885393 (121.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273093  bytes 48248555 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273093  bytes 48248555 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d9f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 544911  bytes 152383341 (145.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 694669  bytes 126892842 (121.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273093  bytes 48248555 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273093  bytes 48248555 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c2ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 544957  bytes 152396755 (145.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 694734  bytes 126901211 (121.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273097  bytes 48248795 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273097  bytes 48248795 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5838110>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 544999  bytes 152409767 (145.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 694795  bytes 126909278 (121.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273100  bytes 48248975 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273100  bytes 48248975 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5801fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 545038  bytes 152422357 (145.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 694848  bytes 126916633 (121.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273100  bytes 48248975 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273100  bytes 48248975 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5807ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 545107  bytes 152440482 (145.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 694940  bytes 126929121 (121.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273100  bytes 48248975 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273100  bytes 48248975 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588afb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 545146  bytes 152453112 (145.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 694991  bytes 126936292 (121.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273100  bytes 48248975 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273100  bytes 48248975 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5897ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 545189  bytes 152466276 (145.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 695057  bytes 126944794 (121.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273100  bytes 48248975 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273100  bytes 48248975 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b0f50>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 545228  bytes 152478956 (145.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 695113  bytes 126952409 (121.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273100  bytes 48248975 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273100  bytes 48248975 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5807ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 545274  bytes 152492331 (145.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 695178  bytes 126960858 (121.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273100  bytes 48248975 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273100  bytes 48248975 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582bff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 545316  bytes 152505176 (145.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 695233  bytes 126968341 (121.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273100  bytes 48248975 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273100  bytes 48248975 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fbfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 545360  bytes 152518316 (145.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 695294  bytes 126976337 (121.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273100  bytes 48248975 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273100  bytes 48248975 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5823ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 545400  bytes 152531127 (145.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 695352  bytes 126984166 (121.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273100  bytes 48248975 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273100  bytes 48248975 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5825fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 545440  bytes 152543962 (145.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 695409  bytes 126991863 (121.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273100  bytes 48248975 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273100  bytes 48248975 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb580afd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 545480  bytes 152556654 (145.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 695464  bytes 126999353 (121.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273100  bytes 48248975 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273100  bytes 48248975 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f4fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 545531  bytes 152570791 (145.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 695527  bytes 127007687 (121.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273106  bytes 48249335 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273106  bytes 48249335 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5f460f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 545571  bytes 152583534 (145.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 695587  bytes 127015553 (121.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273107  bytes 48249395 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273107  bytes 48249395 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583cfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 545634  bytes 152600884 (145.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 695672  bytes 127027544 (121.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273107  bytes 48249395 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273107  bytes 48249395 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5883fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 545677  bytes 152614029 (145.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 695737  bytes 127035854 (121.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273107  bytes 48249395 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273107  bytes 48249395 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5801f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 545719  bytes 152626955 (145.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 695790  bytes 127043272 (121.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273107  bytes 48249395 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273107  bytes 48249395 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c7f30>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 545760  bytes 152639940 (145.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 695854  bytes 127051562 (121.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273107  bytes 48249395 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273107  bytes 48249395 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b3f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 545798  bytes 152652523 (145.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 695906  bytes 127058882 (121.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273107  bytes 48249395 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273107  bytes 48249395 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5824f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 545841  bytes 152665512 (145.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 695963  bytes 127066534 (121.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273107  bytes 48249395 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273107  bytes 48249395 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582a130>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 545881  bytes 152678212 (145.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 696017  bytes 127073970 (121.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273107  bytes 48249395 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273107  bytes 48249395 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5837ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 545919  bytes 152690881 (145.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 696074  bytes 127081760 (121.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273107  bytes 48249395 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273107  bytes 48249395 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5832ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 545968  bytes 152704788 (145.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 696143  bytes 127090437 (121.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273107  bytes 48249395 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273107  bytes 48249395 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5810fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 546014  bytes 152718112 (145.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 696202  bytes 127098452 (121.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273107  bytes 48249395 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273107  bytes 48249395 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581df30>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 546057  bytes 152731165 (145.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 696264  bytes 127106523 (121.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273113  bytes 48249755 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273113  bytes 48249755 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589cf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 546099  bytes 152744106 (145.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 696318  bytes 127114070 (121.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273114  bytes 48249815 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273114  bytes 48249815 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b0fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 546161  bytes 152761504 (145.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 696407  bytes 127126360 (121.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273114  bytes 48249815 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273114  bytes 48249815 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b9f50>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 546200  bytes 152774093 (145.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 696459  bytes 127133648 (121.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273114  bytes 48249815 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273114  bytes 48249815 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589c4b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 546242  bytes 152787108 (145.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 696519  bytes 127141539 (121.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273114  bytes 48249815 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273114  bytes 48249815 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58d2fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 546283  bytes 152799957 (145.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 696574  bytes 127149086 (121.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273114  bytes 48249815 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273114  bytes 48249815 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58bbf50>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 546326  bytes 152813001 (145.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 696634  bytes 127157065 (121.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273114  bytes 48249815 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273114  bytes 48249815 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584ff90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 546365  bytes 152825705 (145.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 696694  bytes 127165062 (121.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273114  bytes 48249815 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273114  bytes 48249815 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb658ecf0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 546413  bytes 152839397 (145.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 696753  bytes 127172989 (121.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273114  bytes 48249815 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273114  bytes 48249815 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58984b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 546456  bytes 152852506 (145.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 696817  bytes 127181247 (121.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273114  bytes 48249815 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273114  bytes 48249815 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589dad0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 546496  bytes 152865235 (145.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 696871  bytes 127188707 (121.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273114  bytes 48249815 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273114  bytes 48249815 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584efd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 546542  bytes 152878667 (145.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 696937  bytes 127197291 (121.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273114  bytes 48249815 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273114  bytes 48249815 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58981b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 546585  bytes 152891666 (145.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 696993  bytes 127204948 (121.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273120  bytes 48250175 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273120  bytes 48250175 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57deff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 546628  bytes 152904781 (145.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 697057  bytes 127213239 (121.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273121  bytes 48250235 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273121  bytes 48250235 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582df30>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 546689  bytes 152921939 (145.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 697139  bytes 127225001 (121.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273121  bytes 48250235 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273121  bytes 48250235 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5857fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 546732  bytes 152934986 (145.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 697198  bytes 127232786 (121.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273121  bytes 48250235 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273121  bytes 48250235 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5844330>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 546772  bytes 152947709 (145.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 697253  bytes 127240309 (121.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273121  bytes 48250235 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273121  bytes 48250235 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5855150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 546813  bytes 152960690 (145.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 697308  bytes 127247978 (121.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273121  bytes 48250235 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273121  bytes 48250235 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57ddf50>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 546862  bytes 152974444 (145.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 697374  bytes 127256447 (121.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273121  bytes 48250235 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273121  bytes 48250235 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b1fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 546902  bytes 152987175 (145.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 697427  bytes 127263773 (121.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273121  bytes 48250235 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273121  bytes 48250235 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5870fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 546943  bytes 153000075 (145.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 697488  bytes 127271718 (121.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273121  bytes 48250235 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273121  bytes 48250235 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b6f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 546987  bytes 153013284 (145.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 697547  bytes 127279803 (121.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273121  bytes 48250235 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273121  bytes 48250235 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb580afb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 547031  bytes 153026407 (145.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 697608  bytes 127287807 (121.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273121  bytes 48250235 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273121  bytes 48250235 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5831f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 547071  bytes 153039068 (145.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 697660  bytes 127295064 (121.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273121  bytes 48250235 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273121  bytes 48250235 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5800150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 547118  bytes 153052551 (145.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 697724  bytes 127303427 (121.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273126  bytes 48250535 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273126  bytes 48250535 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585bff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 547156  bytes 153065081 (145.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 697778  bytes 127310804 (121.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273128  bytes 48250655 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273128  bytes 48250655 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587ff70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 547223  bytes 153082833 (145.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 697867  bytes 127323082 (121.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273128  bytes 48250655 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273128  bytes 48250655 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57ddff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 547262  bytes 153095486 (146.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 697923  bytes 127330619 (121.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273128  bytes 48250655 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273128  bytes 48250655 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5861f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 547311  bytes 153109365 (146.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 697989  bytes 127339236 (121.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273128  bytes 48250655 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273128  bytes 48250655 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5890fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 547352  bytes 153122260 (146.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 698050  bytes 127347129 (121.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273128  bytes 48250655 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273128  bytes 48250655 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb580dfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 547393  bytes 153135082 (146.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 698105  bytes 127354656 (121.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273128  bytes 48250655 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273128  bytes 48250655 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5812fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 547436  bytes 153148168 (146.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 698167  bytes 127362769 (121.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273128  bytes 48250655 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273128  bytes 48250655 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58cef50>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 547479  bytes 153161207 (146.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 698227  bytes 127370814 (121.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273128  bytes 48250655 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273128  bytes 48250655 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fbf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 547522  bytes 153174273 (146.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 698287  bytes 127378749 (121.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273128  bytes 48250655 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273128  bytes 48250655 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5893ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 547567  bytes 153187608 (146.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 698347  bytes 127386790 (121.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273128  bytes 48250655 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273128  bytes 48250655 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5872fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 547612  bytes 153200843 (146.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 698406  bytes 127394574 (121.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273128  bytes 48250655 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273128  bytes 48250655 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589dad0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 547655  bytes 153213901 (146.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 698466  bytes 127402615 (121.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273132  bytes 48250895 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273132  bytes 48250895 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588cf50>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 547695  bytes 153226657 (146.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 698522  bytes 127410186 (121.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273135  bytes 48251075 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273135  bytes 48251075 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5803ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 547743  bytes 153240488 (146.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 698592  bytes 127419059 (121.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273135  bytes 48251075 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273135  bytes 48251075 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5828fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 547805  bytes 153257623 (146.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 698669  bytes 127430239 (121.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273135  bytes 48251075 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273135  bytes 48251075 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5855f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 547848  bytes 153270697 (146.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 698730  bytes 127438244 (121.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273135  bytes 48251075 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273135  bytes 48251075 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b9fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 547889  bytes 153283570 (146.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 698785  bytes 127445853 (121.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273135  bytes 48251075 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273135  bytes 48251075 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5816fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 547930  bytes 153296566 (146.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 698848  bytes 127454033 (121.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273135  bytes 48251075 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273135  bytes 48251075 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582bf10>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 547969  bytes 153309155 (146.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 698905  bytes 127461684 (121.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273135  bytes 48251075 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273135  bytes 48251075 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5866fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 548013  bytes 153322334 (146.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 698964  bytes 127469549 (121.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273135  bytes 48251075 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273135  bytes 48251075 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583f2f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 548053  bytes 153335006 (146.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 699020  bytes 127477078 (121.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273135  bytes 48251075 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273135  bytes 48251075 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d7f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 548096  bytes 153348075 (146.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 699078  bytes 127484869 (121.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273135  bytes 48251075 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273135  bytes 48251075 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5832fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 548137  bytes 153360955 (146.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 699140  bytes 127492989 (121.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273135  bytes 48251075 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273135  bytes 48251075 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5838ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 548185  bytes 153374647 (146.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 699202  bytes 127501112 (121.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273135  bytes 48251075 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273135  bytes 48251075 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582fff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 548227  bytes 153387584 (146.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 699263  bytes 127509024 (121.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273141  bytes 48251435 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273141  bytes 48251435 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5842f10>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 548270  bytes 153400637 (146.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 699321  bytes 127516915 (121.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273142  bytes 48251495 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273142  bytes 48251495 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b5ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 548333  bytes 153418022 (146.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 699409  bytes 127528996 (121.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273142  bytes 48251495 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273142  bytes 48251495 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58390b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 548376  bytes 153431147 (146.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 699467  bytes 127536952 (121.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273142  bytes 48251495 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273142  bytes 48251495 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5844ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 548417  bytes 153444021 (146.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 699527  bytes 127544770 (121.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273142  bytes 48251495 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273142  bytes 48251495 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e0ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 548461  bytes 153457204 (146.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 699586  bytes 127552780 (121.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273142  bytes 48251495 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273142  bytes 48251495 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589aad0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 548504  bytes 153470228 (146.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 699645  bytes 127560592 (121.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273142  bytes 48251495 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273142  bytes 48251495 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57eff90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 548545  bytes 153483044 (146.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 699700  bytes 127568126 (121.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273142  bytes 48251495 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273142  bytes 48251495 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5880ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 548586  bytes 153496029 (146.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 699764  bytes 127576381 (121.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273142  bytes 48251495 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273142  bytes 48251495 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5827fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 548634  bytes 153509763 (146.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 699829  bytes 127584747 (121.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273142  bytes 48251495 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273142  bytes 48251495 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f5fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 548673  bytes 153522404 (146.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 699882  bytes 127592050 (121.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273142  bytes 48251495 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273142  bytes 48251495 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c30f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 548716  bytes 153535487 (146.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 699944  bytes 127600080 (121.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273142  bytes 48251495 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273142  bytes 48251495 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58204d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 548759  bytes 153548591 (146.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 700006  bytes 127608279 (121.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273148  bytes 48251855 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273148  bytes 48251855 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585bf70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 548802  bytes 153561688 (146.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 700069  bytes 127616416 (121.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273149  bytes 48251915 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273149  bytes 48251915 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a3fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 548861  bytes 153578568 (146.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 700148  bytes 127627812 (121.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273149  bytes 48251915 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273149  bytes 48251915 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5865270>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 548907  bytes 153591970 (146.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 700213  bytes 127636241 (121.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273149  bytes 48251915 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273149  bytes 48251915 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5879150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 548947  bytes 153604663 (146.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 700267  bytes 127643618 (121.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273149  bytes 48251915 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273149  bytes 48251915 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58bfff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 548989  bytes 153617676 (146.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 700327  bytes 127651521 (121.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273149  bytes 48251915 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273149  bytes 48251915 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5812f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 549030  bytes 153630508 (146.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 700384  bytes 127659160 (121.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273149  bytes 48251915 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273149  bytes 48251915 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584ef90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 549077  bytes 153644113 (146.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 700444  bytes 127667141 (121.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273149  bytes 48251915 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273149  bytes 48251915 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c6fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 549119  bytes 153657234 (146.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 700509  bytes 127675550 (121.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273149  bytes 48251915 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273149  bytes 48251915 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5899fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 549160  bytes 153670051 (146.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 700563  bytes 127683035 (121.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273149  bytes 48251915 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273149  bytes 48251915 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b8f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 549205  bytes 153683289 (146.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 700624  bytes 127691102 (121.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273149  bytes 48251915 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273149  bytes 48251915 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5835ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 549245  bytes 153696016 (146.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 700677  bytes 127698521 (121.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273149  bytes 48251915 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273149  bytes 48251915 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c1f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 549286  bytes 153708977 (146.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 700742  bytes 127706885 (121.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273154  bytes 48252215 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273154  bytes 48252215 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584cff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 549325  bytes 153721672 (146.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 700793  bytes 127714152 (121.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273156  bytes 48252335 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273156  bytes 48252335 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58d2f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 549388  bytes 153738959 (146.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 700875  bytes 127725760 (121.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273156  bytes 48252335 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273156  bytes 48252335 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588afb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 549429  bytes 153751756 (146.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 700934  bytes 127733912 (121.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 273156  bytes 48252335 (46.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273156  bytes 48252335 (46.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 115  bytes 15533 (15.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 129  bytes 14532 (14.1 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 12  bytes 720 (720.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12  bytes 720 (720.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 174  bytes 30500 (29.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 200  bytes 23566 (23.0 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 12  bytes 720 (720.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12  bytes 720 (720.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 224  bytes 44375 (43.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 264  bytes 32075 (31.3 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 12  bytes 720 (720.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12  bytes 720 (720.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5834f30>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 274  bytes 58366 (56.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 334  bytes 40938 (39.9 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 12  bytes 720 (720.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12  bytes 720 (720.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d9370>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 325  bytes 72402 (70.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 399  bytes 49445 (48.2 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 12  bytes 720 (720.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12  bytes 720 (720.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583dff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 375  bytes 86374 (84.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 471  bytes 58536 (57.1 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 12  bytes 720 (720.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12  bytes 720 (720.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5839fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 412  bytes 98836 (96.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 524  bytes 65947 (64.4 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 12  bytes 720 (720.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12  bytes 720 (720.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58aef90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 455  bytes 111963 (109.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 583  bytes 73876 (72.1 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 12  bytes 720 (720.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12  bytes 720 (720.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a3f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 504  bytes 125754 (122.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 650  bytes 82448 (80.5 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 12  bytes 720 (720.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12  bytes 720 (720.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5865fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 545  bytes 138543 (135.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 701  bytes 89772 (87.6 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 12  bytes 720 (720.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12  bytes 720 (720.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589aff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 592  bytes 152313 (148.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 775  bytes 99044 (96.7 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 12  bytes 720 (720.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12  bytes 720 (720.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d8ad0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 652  bytes 169310 (165.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 854  bytes 110595 (108.0 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 17  bytes 996 (996.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17  bytes 996 (996.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57dcfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 696  bytes 182475 (178.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 919  bytes 119060 (116.2 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 17  bytes 996 (996.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17  bytes 996 (996.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589aff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 738  bytes 195373 (190.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 973  bytes 126625 (123.6 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 17  bytes 996 (996.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17  bytes 996 (996.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583cff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 785  bytes 209101 (204.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1043  bytes 135412 (132.2 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 17  bytes 996 (996.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17  bytes 996 (996.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d8f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 825  bytes 221883 (216.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1100  bytes 143163 (139.8 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 17  bytes 996 (996.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17  bytes 996 (996.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5890fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 865  bytes 234673 (229.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1159  bytes 151012 (147.4 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 17  bytes 996 (996.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17  bytes 996 (996.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584efb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 913  bytes 248224 (242.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1218  bytes 159031 (155.3 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 17  bytes 996 (996.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17  bytes 996 (996.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5839490>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 964  bytes 262268 (256.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1284  bytes 167666 (163.7 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 17  bytes 996 (996.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17  bytes 996 (996.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583dff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 1005  bytes 275114 (268.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1342  bytes 175527 (171.4 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 17  bytes 996 (996.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17  bytes 996 (996.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581b490>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 1044  bytes 287707 (280.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1395  bytes 182914 (178.6 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 17  bytes 996 (996.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17  bytes 996 (996.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5802fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 1107  bytes 305186 (298.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1487  bytes 195510 (190.9 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 22  bytes 1272 (1.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22  bytes 1272 (1.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583cfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 1159  bytes 319204 (311.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1548  bytes 203669 (198.8 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 22  bytes 1272 (1.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22  bytes 1272 (1.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57ff250>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 1203  bytes 332467 (324.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1613  bytes 212230 (207.2 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 22  bytes 1272 (1.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22  bytes 1272 (1.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588f1b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 1242  bytes 345051 (336.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1664  bytes 219505 (214.3 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 22  bytes 1272 (1.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22  bytes 1272 (1.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a4ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 1282  bytes 357867 (349.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1723  bytes 227454 (222.1 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 22  bytes 1272 (1.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22  bytes 1272 (1.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588ce70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 1321  bytes 370551 (361.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1781  bytes 235367 (229.8 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 22  bytes 1272 (1.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22  bytes 1272 (1.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586d1d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 1365  bytes 383734 (374.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1841  bytes 243374 (237.6 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 22  bytes 1272 (1.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22  bytes 1272 (1.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585b190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 1410  bytes 397269 (387.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1907  bytes 251883 (245.9 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 22  bytes 1272 (1.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22  bytes 1272 (1.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5892fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 1452  bytes 410167 (400.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1964  bytes 259742 (253.6 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 22  bytes 1272 (1.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22  bytes 1272 (1.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5897f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 1492  bytes 422944 (413.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2023  bytes 267647 (261.3 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 22  bytes 1272 (1.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22  bytes 1272 (1.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589cf50>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 1533  bytes 435762 (425.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2078  bytes 275278 (268.8 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 26  bytes 1512 (1.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26  bytes 1512 (1.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57dafd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 1578  bytes 449044 (438.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2144  bytes 283853 (277.2 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 29  bytes 1692 (1.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29  bytes 1692 (1.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5833fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 1618  bytes 461780 (450.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2197  bytes 291332 (284.5 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 29  bytes 1692 (1.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29  bytes 1692 (1.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c8fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 1681  bytes 479091 (467.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2283  bytes 303320 (296.2 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 29  bytes 1692 (1.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29  bytes 1692 (1.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f6110>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 1732  bytes 493035 (481.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2347  bytes 311737 (304.4 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 29  bytes 1692 (1.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29  bytes 1692 (1.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587f050>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 1773  bytes 505883 (494.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2404  bytes 319494 (312.0 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 29  bytes 1692 (1.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29  bytes 1692 (1.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583c390>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 1814  bytes 518814 (506.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2465  bytes 327685 (320.0 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 29  bytes 1692 (1.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29  bytes 1692 (1.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581b110>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 1855  bytes 531701 (519.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2522  bytes 335426 (327.5 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 29  bytes 1692 (1.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29  bytes 1692 (1.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58cf1b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 1897  bytes 544701 (531.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2584  bytes 343691 (335.6 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 29  bytes 1692 (1.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29  bytes 1692 (1.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5860fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 1935  bytes 557207 (544.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2636  bytes 351052 (342.8 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 29  bytes 1692 (1.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29  bytes 1692 (1.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5843110>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 1978  bytes 570389 (557.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2700  bytes 359527 (351.1 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 29  bytes 1692 (1.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29  bytes 1692 (1.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b7ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 2025  bytes 583967 (570.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2762  bytes 367672 (359.0 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 29  bytes 1692 (1.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29  bytes 1692 (1.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a1f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 2072  bytes 597453 (583.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2829  bytes 376365 (367.5 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 29  bytes 1692 (1.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29  bytes 1692 (1.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5832fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 2116  bytes 610450 (596.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2884  bytes 383920 (374.9 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 35  bytes 2052 (2.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35  bytes 2052 (2.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a54f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 2159  bytes 623661 (609.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2950  bytes 392519 (383.3 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 36  bytes 2112 (2.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36  bytes 2112 (2.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f4fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 2217  bytes 640428 (625.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3027  bytes 403835 (394.3 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 36  bytes 2112 (2.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36  bytes 2112 (2.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a14b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 2264  bytes 653910 (638.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3091  bytes 412294 (402.6 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 36  bytes 2112 (2.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36  bytes 2112 (2.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5883ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 2303  bytes 666506 (650.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3146  bytes 419829 (409.9 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 36  bytes 2112 (2.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36  bytes 2112 (2.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5801330>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 2342  bytes 679177 (663.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3197  bytes 427192 (417.1 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 36  bytes 2112 (2.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36  bytes 2112 (2.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58751d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 2381  bytes 691899 (675.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3254  bytes 434989 (424.7 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 36  bytes 2112 (2.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36  bytes 2112 (2.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b0ed0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 2429  bytes 705745 (689.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3319  bytes 443656 (433.2 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 36  bytes 2112 (2.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36  bytes 2112 (2.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5881f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 2473  bytes 718854 (702.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3380  bytes 451673 (441.0 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 36  bytes 2112 (2.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36  bytes 2112 (2.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58bc4d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 2515  bytes 731819 (714.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3437  bytes 459584 (448.8 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 36  bytes 2112 (2.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36  bytes 2112 (2.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5899ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 2559  bytes 744949 (727.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3495  bytes 467415 (456.4 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 36  bytes 2112 (2.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36  bytes 2112 (2.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5899ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 2598  bytes 757559 (739.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3549  bytes 474948 (463.8 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 36  bytes 2112 (2.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36  bytes 2112 (2.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58011d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 2641  bytes 770555 (752.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3608  bytes 482845 (471.5 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 42  bytes 2472 (2.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42  bytes 2472 (2.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5801bf0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 2686  bytes 783787 (765.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3667  bytes 490856 (479.3 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 43  bytes 2532 (2.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43  bytes 2532 (2.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5820fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 2747  bytes 800905 (782.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3749  bytes 502572 (490.7 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 43  bytes 2532 (2.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43  bytes 2532 (2.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58261d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 2785  bytes 813494 (794.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3805  bytes 510277 (498.3 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 43  bytes 2532 (2.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43  bytes 2532 (2.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5808fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 2833  bytes 827152 (807.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3866  bytes 518428 (506.2 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 43  bytes 2532 (2.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43  bytes 2532 (2.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5841ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 2879  bytes 840463 (820.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3928  bytes 526605 (514.2 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 43  bytes 2532 (2.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43  bytes 2532 (2.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58cced0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 2919  bytes 853219 (833.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3982  bytes 534104 (521.5 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 43  bytes 2532 (2.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43  bytes 2532 (2.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5836fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 2959  bytes 866062 (845.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4042  bytes 542109 (529.4 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 43  bytes 2532 (2.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43  bytes 2532 (2.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588ef90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 2998  bytes 878772 (858.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4098  bytes 549928 (537.0 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 43  bytes 2532 (2.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43  bytes 2532 (2.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb580efd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 3037  bytes 891528 (870.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4157  bytes 557859 (544.7 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 43  bytes 2532 (2.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43  bytes 2532 (2.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5894ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 3076  bytes 904163 (882.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4211  bytes 565342 (552.0 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 43  bytes 2532 (2.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43  bytes 2532 (2.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585afd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 3119  bytes 917216 (895.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4269  bytes 573199 (559.7 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 43  bytes 2532 (2.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43  bytes 2532 (2.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585df10>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 3163  bytes 930384 (908.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4331  bytes 581466 (567.8 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 49  bytes 2892 (2.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 49  bytes 2892 (2.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5830ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 3203  bytes 943133 (921.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4384  bytes 588939 (575.1 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 50  bytes 2952 (2.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 50  bytes 2952 (2.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57feff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 3272  bytes 961389 (938.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4484  bytes 602181 (588.0 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 50  bytes 2952 (2.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 50  bytes 2952 (2.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5817fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 3312  bytes 974102 (951.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4537  bytes 609643 (595.3 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 50  bytes 2952 (2.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 50  bytes 2952 (2.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5847fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 3355  bytes 987181 (964.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4600  bytes 617795 (603.3 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 50  bytes 2952 (2.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 50  bytes 2952 (2.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b2f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 3397  bytes 1000200 (976.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4661  bytes 625993 (611.3 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 50  bytes 2952 (2.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 50  bytes 2952 (2.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5840ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 3437  bytes 1013013 (989.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4722  bytes 633993 (619.1 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 50  bytes 2952 (2.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 50  bytes 2952 (2.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5857fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 3476  bytes 1025677 (1001.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4774  bytes 641389 (626.3 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 50  bytes 2952 (2.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 50  bytes 2952 (2.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5835ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 3518  bytes 1038748 (1014.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4837  bytes 649682 (634.4 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 50  bytes 2952 (2.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 50  bytes 2952 (2.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58cbfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 3562  bytes 1051868 (1.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4890  bytes 657153 (641.7 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 50  bytes 2952 (2.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 50  bytes 2952 (2.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5811fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 3606  bytes 1064944 (1.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4945  bytes 664754 (649.1 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 50  bytes 2952 (2.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 50  bytes 2952 (2.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5845f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 3648  bytes 1077928 (1.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5006  bytes 672997 (657.2 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 50  bytes 2952 (2.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 50  bytes 2952 (2.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584bfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 3693  bytes 1091403 (1.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5069  bytes 681244 (665.2 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 55  bytes 3252 (3.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 55  bytes 3252 (3.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5821f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 3739  bytes 1104792 (1.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5134  bytes 689789 (673.6 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 57  bytes 3372 (3.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 57  bytes 3372 (3.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587d170>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 3802  bytes 1122059 (1.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5214  bytes 701275 (684.8 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 57  bytes 3372 (3.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 57  bytes 3372 (3.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58aae90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 3847  bytes 1135284 (1.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5275  bytes 709344 (692.7 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 57  bytes 3372 (3.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 57  bytes 3372 (3.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586bfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 3887  bytes 1147962 (1.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5330  bytes 716907 (700.1 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 57  bytes 3372 (3.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 57  bytes 3372 (3.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5887fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 3934  bytes 1161444 (1.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5394  bytes 725397 (708.3 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 57  bytes 3372 (3.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 57  bytes 3372 (3.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e0170>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 3971  bytes 1173889 (1.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5447  bytes 732836 (715.6 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 57  bytes 3372 (3.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 57  bytes 3372 (3.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588eff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 4016  bytes 1187248 (1.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5509  bytes 741147 (723.7 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 57  bytes 3372 (3.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 57  bytes 3372 (3.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5892fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 4056  bytes 1199942 (1.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5566  bytes 748878 (731.3 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 57  bytes 3372 (3.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 57  bytes 3372 (3.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a3090>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 4096  bytes 1212808 (1.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5622  bytes 756613 (738.8 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 57  bytes 3372 (3.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 57  bytes 3372 (3.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5884b30>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 4143  bytes 1226532 (1.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5691  bytes 765476 (747.5 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 57  bytes 3372 (3.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 57  bytes 3372 (3.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5805170>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 4182  bytes 1239235 (1.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5743  bytes 772917 (754.8 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 57  bytes 3372 (3.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 57  bytes 3372 (3.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581aff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 4224  bytes 1252305 (1.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5808  bytes 781390 (763.0 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 61  bytes 3612 (3.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 61  bytes 3612 (3.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5876ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 4264  bytes 1265014 (1.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5860  bytes 788830 (770.3 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 64  bytes 3792 (3.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 64  bytes 3792 (3.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f5fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 4306  bytes 1277968 (1.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5921  bytes 796891 (778.2 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 64  bytes 3792 (3.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 64  bytes 3792 (3.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58d3fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 4366  bytes 1295123 (1.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6005  bytes 808925 (789.9 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 64  bytes 3792 (3.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 64  bytes 3792 (3.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5851fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 4411  bytes 1308407 (1.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6071  bytes 817476 (798.3 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 64  bytes 3792 (3.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 64  bytes 3792 (3.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5818fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 4452  bytes 1321238 (1.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6127  bytes 825145 (805.8 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 64  bytes 3792 (3.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 64  bytes 3792 (3.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a2f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 4495  bytes 1334230 (1.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6184  bytes 832906 (813.3 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 64  bytes 3792 (3.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 64  bytes 3792 (3.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5871fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 4535  bytes 1347010 (1.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6239  bytes 840581 (820.8 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 64  bytes 3792 (3.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 64  bytes 3792 (3.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581e490>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 4585  bytes 1360812 (1.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6300  bytes 848736 (828.8 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 64  bytes 3792 (3.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 64  bytes 3792 (3.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5892110>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 4627  bytes 1373894 (1.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6364  bytes 857218 (837.1 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 64  bytes 3792 (3.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 64  bytes 3792 (3.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58ccf30>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 4668  bytes 1386689 (1.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6418  bytes 864795 (844.5 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 64  bytes 3792 (3.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 64  bytes 3792 (3.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57effd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 4712  bytes 1399885 (1.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6483  bytes 873348 (852.8 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 64  bytes 3792 (3.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 64  bytes 3792 (3.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f5fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 4752  bytes 1412566 (1.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6537  bytes 880873 (860.2 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 64  bytes 3792 (3.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 64  bytes 3792 (3.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5808fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 4794  bytes 1425578 (1.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6597  bytes 888912 (868.0 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 70  bytes 4152 (4.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 70  bytes 4152 (4.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58afaf0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 4837  bytes 1438551 (1.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6655  bytes 896869 (875.8 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 71  bytes 4212 (4.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 71  bytes 4212 (4.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58cefb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 4903  bytes 1456194 (1.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6745  bytes 909329 (888.0 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 71  bytes 4212 (4.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 71  bytes 4212 (4.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5822110>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 4941  bytes 1468721 (1.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6799  bytes 916834 (895.3 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 71  bytes 4212 (4.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 71  bytes 4212 (4.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c6170>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 4986  bytes 1482258 (1.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6864  bytes 925422 (903.7 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 71  bytes 4212 (4.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 71  bytes 4212 (4.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584e030>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 5035  bytes 1495949 (1.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6928  bytes 933787 (911.9 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 71  bytes 4212 (4.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 71  bytes 4212 (4.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5831fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 5073  bytes 1508533 (1.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6979  bytes 941102 (919.0 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 71  bytes 4212 (4.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 71  bytes 4212 (4.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58aeff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 5117  bytes 1521750 (1.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7045  bytes 949641 (927.3 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 71  bytes 4212 (4.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 71  bytes 4212 (4.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e6fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 5154  bytes 1534326 (1.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7099  bytes 957214 (934.7 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 71  bytes 4212 (4.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 71  bytes 4212 (4.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5828ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 5197  bytes 1547321 (1.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7158  bytes 965123 (942.5 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 71  bytes 4212 (4.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 71  bytes 4212 (4.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5840330>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 5237  bytes 1560147 (1.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7216  bytes 973108 (950.3 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 71  bytes 4212 (4.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 71  bytes 4212 (4.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5852fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 5280  bytes 1573170 (1.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7275  bytes 981009 (958.0 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 71  bytes 4212 (4.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 71  bytes 4212 (4.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c2fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 5324  bytes 1586332 (1.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7334  bytes 989083 (965.9 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 77  bytes 4572 (4.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 77  bytes 4572 (4.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58bcf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 5362  bytes 1598958 (1.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7393  bytes 996976 (973.6 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 78  bytes 4632 (4.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 78  bytes 4632 (4.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584ced0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 5424  bytes 1616222 (1.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7476  bytes 1008900 (985.2 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 78  bytes 4632 (4.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 78  bytes 4632 (4.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5841ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 5471  bytes 1629814 (1.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7538  bytes 1017161 (993.3 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 78  bytes 4632 (4.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 78  bytes 4632 (4.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5844fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 5513  bytes 1642831 (1.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7597  bytes 1025165 (1001.1 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 78  bytes 4632 (4.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 78  bytes 4632 (4.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5824fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 5550  bytes 1655278 (1.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7646  bytes 1032336 (1008.1 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 78  bytes 4632 (4.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 78  bytes 4632 (4.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57dcfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 5593  bytes 1668349 (1.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7707  bytes 1040449 (1016.0 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 78  bytes 4632 (4.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 78  bytes 4632 (4.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b8ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 5632  bytes 1681023 (1.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7763  bytes 1048245 (1023.6 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 78  bytes 4632 (4.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 78  bytes 4632 (4.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5801330>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 5675  bytes 1694104 (1.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7825  bytes 1056395 (1.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 78  bytes 4632 (4.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 78  bytes 4632 (4.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587bfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 5715  bytes 1706916 (1.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7886  bytes 1064530 (1.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 78  bytes 4632 (4.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 78  bytes 4632 (4.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57eafb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 5755  bytes 1719777 (1.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7944  bytes 1072377 (1.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 78  bytes 4632 (4.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 78  bytes 4632 (4.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58bcfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 5795  bytes 1732404 (1.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7996  bytes 1079730 (1.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 78  bytes 4632 (4.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 78  bytes 4632 (4.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b8510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 5838  bytes 1745602 (1.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8055  bytes 1087719 (1.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 84  bytes 4992 (4.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 84  bytes 4992 (4.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581dfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 5886  bytes 1759236 (1.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8118  bytes 1096010 (1.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 85  bytes 5052 (4.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 85  bytes 5052 (4.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f8210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 5949  bytes 1776562 (1.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8202  bytes 1108001 (1.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 85  bytes 5052 (4.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 85  bytes 5052 (4.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58d4fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 5992  bytes 1789584 (1.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8263  bytes 1116022 (1.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 85  bytes 5052 (4.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 85  bytes 5052 (4.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5897fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 6035  bytes 1802545 (1.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8317  bytes 1123592 (1.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 85  bytes 5052 (4.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 85  bytes 5052 (4.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5875fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 6077  bytes 1815505 (1.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8378  bytes 1131654 (1.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 85  bytes 5052 (4.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 85  bytes 5052 (4.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5857150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5857150>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5857150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 6119  bytes 1828519 (1.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8435  bytes 1139614 (1.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 85  bytes 5052 (4.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 85  bytes 5052 (4.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5886ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5886ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5886ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 6162  bytes 1841564 (1.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8496  bytes 1147684 (1.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 85  bytes 5052 (4.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 85  bytes 5052 (4.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57f4f70>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f4f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f4f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 6204  bytes 1854504 (1.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8550  bytes 1155209 (1.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 85  bytes 5052 (4.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 85  bytes 5052 (4.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58d1af0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58d1af0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58d1af0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 6249  bytes 1867851 (1.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8613  bytes 1163575 (1.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 85  bytes 5052 (4.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 85  bytes 5052 (4.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57e1fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e1fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e1fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 6290  bytes 1880642 (1.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8668  bytes 1171207 (1.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 85  bytes 5052 (4.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 85  bytes 5052 (4.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57d8ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d8ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d8ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 6338  bytes 1894347 (1.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8730  bytes 1179428 (1.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 85  bytes 5052 (4.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 85  bytes 5052 (4.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5819150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5819150>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5819150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 6380  bytes 1907426 (1.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8795  bytes 1187934 (1.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 90  bytes 5352 (5.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 90  bytes 5352 (5.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57d6fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d6fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d6fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 6420  bytes 1920123 (1.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8846  bytes 1195214 (1.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 92  bytes 5472 (5.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 92  bytes 5472 (5.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb584aff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584aff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584aff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 6482  bytes 1937383 (1.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8932  bytes 1207231 (1.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 92  bytes 5472 (5.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 92  bytes 5472 (5.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5877ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5877ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5877ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 6523  bytes 1950114 (1.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8984  bytes 1214597 (1.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 92  bytes 5472 (5.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 92  bytes 5472 (5.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58c4ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c4ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c4ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 6567  bytes 1963317 (1.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9049  bytes 1223123 (1.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 92  bytes 5472 (5.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 92  bytes 5472 (5.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57faff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57faff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57faff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 6601  bytes 1975555 (1.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9100  bytes 1230367 (1.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 92  bytes 5472 (5.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 92  bytes 5472 (5.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb582dfd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582dfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582dfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 6648  bytes 1989036 (1.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9166  bytes 1238991 (1.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 92  bytes 5472 (5.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 92  bytes 5472 (5.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58a6fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a6fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a6fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 6688  bytes 2001730 (1.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9221  bytes 1246582 (1.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 92  bytes 5472 (5.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 92  bytes 5472 (5.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58bd170>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58bd170>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58bd170>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 6731  bytes 2014803 (1.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9277  bytes 1254322 (1.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 92  bytes 5472 (5.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 92  bytes 5472 (5.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57eefd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57eefd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57eefd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 6778  bytes 2028485 (1.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9345  bytes 1263099 (1.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 92  bytes 5472 (5.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 92  bytes 5472 (5.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5843ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5843ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5843ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 6820  bytes 2041346 (1.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9397  bytes 1270533 (1.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 92  bytes 5472 (5.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 92  bytes 5472 (5.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57d9ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d9ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d9ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 6858  bytes 2053990 (1.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9454  bytes 1278275 (1.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 92  bytes 5472 (5.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 92  bytes 5472 (5.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58a6ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a6ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a6ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 6895  bytes 2066488 (1.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9505  bytes 1285631 (1.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 96  bytes 5712 (5.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 96  bytes 5712 (5.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5860fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5860fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5860fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 6938  bytes 2079507 (1.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9565  bytes 1293627 (1.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 99  bytes 5892 (5.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 99  bytes 5892 (5.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5863fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5863fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5863fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 6980  bytes 2092506 (1.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9626  bytes 1301787 (1.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 99  bytes 5892 (5.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 99  bytes 5892 (5.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58c2fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c2fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c2fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 7041  bytes 2109651 (2.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9709  bytes 1313545 (1.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 99  bytes 5892 (5.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 99  bytes 5892 (5.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57f9330>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f9330>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f9330>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 7080  bytes 2122343 (2.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9764  bytes 1321149 (1.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 99  bytes 5892 (5.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 99  bytes 5892 (5.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb585b050>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585b050>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585b050>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 7123  bytes 2135422 (2.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9824  bytes 1329277 (1.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 99  bytes 5892 (5.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 99  bytes 5892 (5.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58ac1b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58ac1b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58ac1b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 7165  bytes 2148365 (2.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9885  bytes 1337429 (1.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 99  bytes 5892 (5.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 99  bytes 5892 (5.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5830fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5830fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5830fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 7209  bytes 2161806 (2.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9946  bytes 1345583 (1.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 99  bytes 5892 (5.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 99  bytes 5892 (5.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5897fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5897fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5897fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 7251  bytes 2174711 (2.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10003  bytes 1353375 (1.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 99  bytes 5892 (5.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 99  bytes 5892 (5.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb581eff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581eff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581eff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 7294  bytes 2187709 (2.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10059  bytes 1361192 (1.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 99  bytes 5892 (5.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 99  bytes 5892 (5.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb584d2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584d2b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584d2b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 7336  bytes 2200719 (2.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10120  bytes 1369265 (1.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 99  bytes 5892 (5.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 99  bytes 5892 (5.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58682b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58682b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58682b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 7376  bytes 2213401 (2.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10172  bytes 1376630 (1.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 99  bytes 5892 (5.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 99  bytes 5892 (5.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb585ff90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585ff90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585ff90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 7419  bytes 2226589 (2.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10238  bytes 1385286 (1.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 99  bytes 5892 (5.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 99  bytes 5892 (5.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58c3ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c3ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c3ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 7460  bytes 2239355 (2.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10291  bytes 1392762 (1.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 105  bytes 6252 (6.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 105  bytes 6252 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58bbf90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58bbf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58bbf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 7504  bytes 2252487 (2.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10349  bytes 1400650 (1.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 106  bytes 6312 (6.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 106  bytes 6312 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5830f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5830f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5830f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 7561  bytes 2269209 (2.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10428  bytes 1412083 (1.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 106  bytes 6312 (6.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 106  bytes 6312 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58d1fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58d1fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58d1fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 7604  bytes 2282258 (2.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10486  bytes 1419963 (1.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 106  bytes 6312 (6.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 106  bytes 6312 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57dffb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57dffb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57dffb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 7650  bytes 2295790 (2.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10550  bytes 1428321 (1.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 106  bytes 6312 (6.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 106  bytes 6312 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5833f70>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5833f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5833f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 7696  bytes 2309183 (2.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10611  bytes 1436556 (1.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 106  bytes 6312 (6.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 106  bytes 6312 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5854110>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5854110>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5854110>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 7738  bytes 2322135 (2.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10671  bytes 1444532 (1.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 106  bytes 6312 (6.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 106  bytes 6312 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5890f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5890f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5890f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 7777  bytes 2334779 (2.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10725  bytes 1452062 (1.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 106  bytes 6312 (6.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 106  bytes 6312 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb585bf90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585bf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585bf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 7821  bytes 2347890 (2.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10787  bytes 1460146 (1.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 106  bytes 6312 (6.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 106  bytes 6312 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58c1fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c1fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c1fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 7861  bytes 2360717 (2.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10845  bytes 1468147 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 106  bytes 6312 (6.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 106  bytes 6312 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58c8fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c8fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c8fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 7902  bytes 2373583 (2.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10905  bytes 1476115 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 106  bytes 6312 (6.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 106  bytes 6312 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5807ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5807ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5807ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 7942  bytes 2386342 (2.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10957  bytes 1483565 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 106  bytes 6312 (6.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 106  bytes 6312 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58c6ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c6ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c6ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 7984  bytes 2399296 (2.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11015  bytes 1491421 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 112  bytes 6672 (6.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 112  bytes 6672 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57d7ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d7ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d7ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 8026  bytes 2412292 (2.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11075  bytes 1499543 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 113  bytes 6732 (6.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 113  bytes 6732 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5839fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5839fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5839fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 8095  bytes 2430423 (2.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11162  bytes 1511710 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 113  bytes 6732 (6.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 113  bytes 6732 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb582afd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582afd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582afd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 8139  bytes 2443566 (2.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11225  bytes 1520085 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 113  bytes 6732 (6.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 113  bytes 6732 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb588ef90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588ef90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588ef90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 8178  bytes 2456156 (2.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11277  bytes 1527430 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 113  bytes 6732 (6.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 113  bytes 6732 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5823fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5823fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5823fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 8220  bytes 2469167 (2.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11336  bytes 1535391 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 113  bytes 6732 (6.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 113  bytes 6732 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5891fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5891fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5891fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 8259  bytes 2481731 (2.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11387  bytes 1542670 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 113  bytes 6732 (6.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 113  bytes 6732 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58d3f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58d3f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58d3f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 8303  bytes 2494989 (2.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11453  bytes 1551261 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 113  bytes 6732 (6.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 113  bytes 6732 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb587ff90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587ff90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587ff90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 8342  bytes 2507608 (2.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11506  bytes 1558672 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 113  bytes 6732 (6.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 113  bytes 6732 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58d1f10>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58d1f10>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58d1f10>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 8384  bytes 2520591 (2.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11566  bytes 1566710 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 113  bytes 6732 (6.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 113  bytes 6732 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58a3fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a3fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a3fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 8425  bytes 2533472 (2.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11626  bytes 1574778 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 113  bytes 6732 (6.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 113  bytes 6732 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5865f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5865f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5865f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 8467  bytes 2546463 (2.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11684  bytes 1582637 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 113  bytes 6732 (6.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 113  bytes 6732 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5801ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5801ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5801ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 8515  bytes 2560117 (2.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11751  bytes 1591124 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 119  bytes 7092 (6.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 119  bytes 7092 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58b1ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b1ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b1ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 8554  bytes 2572854 (2.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11805  bytes 1598838 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 120  bytes 7152 (6.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 120  bytes 7152 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb586ffd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586ffd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586ffd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 8613  bytes 2589853 (2.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11892  bytes 1610873 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 120  bytes 7152 (6.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 120  bytes 7152 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5898f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5898f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5898f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 8653  bytes 2602588 (2.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11945  bytes 1618381 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 120  bytes 7152 (6.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 120  bytes 7152 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb581eed0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581eed0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581eed0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 8695  bytes 2615523 (2.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12006  bytes 1626443 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 120  bytes 7152 (6.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 120  bytes 7152 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58a8150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a8150>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a8150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 8735  bytes 2628265 (2.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12059  bytes 1633950 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 120  bytes 7152 (6.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 120  bytes 7152 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58b9f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b9f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b9f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 8777  bytes 2641287 (2.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12123  bytes 1642350 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 120  bytes 7152 (6.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 120  bytes 7152 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb583bf70>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583bf70>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583bf70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 8819  bytes 2654280 (2.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12175  bytes 1649780 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 120  bytes 7152 (6.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 120  bytes 7152 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58adfb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58adfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58adfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 8863  bytes 2667439 (2.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12233  bytes 1657576 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 120  bytes 7152 (6.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 120  bytes 7152 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58a8ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a8ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a8ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 8904  bytes 2680371 (2.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12293  bytes 1665698 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 120  bytes 7152 (6.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 120  bytes 7152 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5843fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5843fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5843fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 8950  bytes 2693997 (2.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12360  bytes 1674275 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 120  bytes 7152 (6.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 120  bytes 7152 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5864130>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5864130>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5864130>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 8987  bytes 2706495 (2.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12415  bytes 1681898 (1.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 120  bytes 7152 (6.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 120  bytes 7152 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58a7fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a7fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a7fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 9028  bytes 2719304 (2.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12465  bytes 1689128 (1.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 125  bytes 7452 (7.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 125  bytes 7452 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5809f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5809f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5809f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 9071  bytes 2732470 (2.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12530  bytes 1697697 (1.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 127  bytes 7572 (7.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 127  bytes 7572 (7.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5814fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5814fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5814fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 9129  bytes 2749286 (2.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12609  bytes 1709162 (1.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 127  bytes 7572 (7.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 127  bytes 7572 (7.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5837fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5837fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5837fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 9173  bytes 2762467 (2.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12671  bytes 1717386 (1.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 127  bytes 7572 (7.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 127  bytes 7572 (7.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58671f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58671f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58671f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 9213  bytes 2775290 (2.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12727  bytes 1725228 (1.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 127  bytes 7572 (7.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 127  bytes 7572 (7.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb588ef70>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588ef70>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588ef70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 9255  bytes 2788308 (2.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12787  bytes 1733208 (1.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 127  bytes 7572 (7.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 127  bytes 7572 (7.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58872b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58872b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58872b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 9295  bytes 2801103 (2.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12845  bytes 1741170 (1.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 127  bytes 7572 (7.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 127  bytes 7572 (7.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb589cfd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589cfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589cfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 9339  bytes 2814241 (2.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12904  bytes 1749136 (1.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 127  bytes 7572 (7.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 127  bytes 7572 (7.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5876170>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5876170>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5876170>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 9386  bytes 2827815 (2.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12968  bytes 1757474 (1.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 127  bytes 7572 (7.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 127  bytes 7572 (7.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5849fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5849fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5849fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 9426  bytes 2840552 (2.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13020  bytes 1764907 (1.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 127  bytes 7572 (7.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 127  bytes 7572 (7.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58ccff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58ccff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58ccff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 9473  bytes 2853978 (2.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13085  bytes 1773421 (1.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 127  bytes 7572 (7.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 127  bytes 7572 (7.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5811af0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5811af0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5811af0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 9514  bytes 2866908 (2.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13144  bytes 1781468 (1.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 127  bytes 7572 (7.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 127  bytes 7572 (7.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5883fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5883fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5883fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 9557  bytes 2879881 (2.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13204  bytes 1789444 (1.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 131  bytes 7812 (7.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 131  bytes 7812 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58cefb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58cefb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58cefb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 9597  bytes 2892612 (2.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13257  bytes 1796928 (1.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 134  bytes 7992 (7.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 134  bytes 7992 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb580b1f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb580b1f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb580b1f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 9640  bytes 2905742 (2.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13322  bytes 1805422 (1.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 134  bytes 7992 (7.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 134  bytes 7992 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb581afb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581afb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581afb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 9699  bytes 2922657 (2.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13397  bytes 1816635 (1.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 134  bytes 7992 (7.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 134  bytes 7992 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58bcff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58bcff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58bcff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 9739  bytes 2935530 (2.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13460  bytes 1824969 (1.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 134  bytes 7992 (7.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 134  bytes 7992 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57ecff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57ecff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57ecff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 9778  bytes 2948190 (2.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13516  bytes 1832639 (1.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 134  bytes 7992 (7.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 134  bytes 7992 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5896fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5896fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5896fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 9830  bytes 2962253 (2.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13581  bytes 1841105 (1.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 134  bytes 7992 (7.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 134  bytes 7992 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57e8fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e8fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e8fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 9866  bytes 2974703 (2.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13636  bytes 1848729 (1.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 134  bytes 7992 (7.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 134  bytes 7992 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb584cfd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584cfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584cfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 9906  bytes 2987401 (2.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13687  bytes 1856065 (1.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 134  bytes 7992 (7.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 134  bytes 7992 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58d4f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58d4f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58d4f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 9951  bytes 3000733 (2.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13753  bytes 1864697 (1.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 134  bytes 7992 (7.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 134  bytes 7992 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5827f70>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5827f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5827f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 9988  bytes 3013186 (2.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13804  bytes 1872001 (1.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 134  bytes 7992 (7.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 134  bytes 7992 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5883f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5883f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5883f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 10031  bytes 3026327 (2.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13868  bytes 1880441 (1.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 134  bytes 7992 (7.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 134  bytes 7992 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5856ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5856ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5856ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 10068  bytes 3038767 (2.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13920  bytes 1887830 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 134  bytes 7992 (7.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 134  bytes 7992 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb582dfd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582dfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582dfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 10110  bytes 3051731 (2.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13980  bytes 1895810 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 140  bytes 8352 (8.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 140  bytes 8352 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5853fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5853fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5853fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 10151  bytes 3064608 (2.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14040  bytes 1903880 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 141  bytes 8412 (8.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 141  bytes 8412 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58b3fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b3fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b3fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 10214  bytes 3081955 (2.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14125  bytes 1915855 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 141  bytes 8412 (8.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 141  bytes 8412 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5848230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5848230>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5848230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 10262  bytes 3095563 (2.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14188  bytes 1924147 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 141  bytes 8412 (8.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 141  bytes 8412 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57dcfb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57dcfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57dcfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 10309  bytes 3108954 (2.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14246  bytes 1932031 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 141  bytes 8412 (8.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 141  bytes 8412 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5880ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5880ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5880ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 10351  bytes 3121932 (2.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14308  bytes 1940269 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 141  bytes 8412 (8.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 141  bytes 8412 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57dded0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57dded0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57dded0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 10392  bytes 3134755 (2.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14362  bytes 1947839 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 141  bytes 8412 (8.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 141  bytes 8412 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5899fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5899fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5899fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 10434  bytes 3147683 (3.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14421  bytes 1955748 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 141  bytes 8412 (8.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 141  bytes 8412 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5820fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5820fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5820fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 10474  bytes 3160396 (3.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14475  bytes 1963258 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 141  bytes 8412 (8.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 141  bytes 8412 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5803fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5803fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5803fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 10518  bytes 3173595 (3.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14540  bytes 1971772 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 141  bytes 8412 (8.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 141  bytes 8412 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58bdff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58bdff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58bdff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 10557  bytes 3186269 (3.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14594  bytes 1979302 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 141  bytes 8412 (8.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 141  bytes 8412 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb581ff70>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581ff70>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581ff70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 10602  bytes 3199532 (3.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14658  bytes 1987701 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 141  bytes 8412 (8.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 141  bytes 8412 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5836f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5836f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5836f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 10645  bytes 3212525 (3.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14713  bytes 1995368 (1.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 147  bytes 8772 (8.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 147  bytes 8772 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58c1fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c1fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c1fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 10696  bytes 3226504 (3.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14778  bytes 2003842 (1.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 148  bytes 8832 (8.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 148  bytes 8832 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58a2f70>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a2f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a2f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 10757  bytes 3243704 (3.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14864  bytes 2016024 (1.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 148  bytes 8832 (8.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 148  bytes 8832 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58c3030>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c3030>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c3030>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 10797  bytes 3256359 (3.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14914  bytes 2023228 (1.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 148  bytes 8832 (8.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 148  bytes 8832 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb589fff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589fff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589fff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 10837  bytes 3269192 (3.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14972  bytes 2031127 (1.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 148  bytes 8832 (8.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 148  bytes 8832 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5869ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5869ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5869ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 10876  bytes 3281833 (3.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15026  bytes 2038648 (1.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 148  bytes 8832 (8.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 148  bytes 8832 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5819ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5819ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5819ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 10916  bytes 3294766 (3.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15091  bytes 2047153 (1.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 148  bytes 8832 (8.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 148  bytes 8832 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb581a110>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581a110>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581a110>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 10956  bytes 3308969 (3.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15145  bytes 2054742 (1.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 148  bytes 8832 (8.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 148  bytes 8832 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb580fff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb580fff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb580fff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 11003  bytes 3322480 (3.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15211  bytes 2063325 (1.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 148  bytes 8832 (8.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 148  bytes 8832 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb589bfb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589bfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589bfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 11039  bytes 3334888 (3.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15264  bytes 2070768 (1.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 148  bytes 8832 (8.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 148  bytes 8832 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb586af70>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586af70>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586af70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 11081  bytes 3347879 (3.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15323  bytes 2078741 (1.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 148  bytes 8832 (8.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 148  bytes 8832 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57edfb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57edfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57edfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 11128  bytes 3361424 (3.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15384  bytes 2086891 (1.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 148  bytes 8832 (8.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 148  bytes 8832 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb587fff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587fff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587fff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 11171  bytes 3374507 (3.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15441  bytes 2094720 (1.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 154  bytes 9192 (8.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 154  bytes 9192 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb582efb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582efb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582efb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 11210  bytes 3387078 (3.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15493  bytes 2102106 (2.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 155  bytes 9252 (9.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 155  bytes 9252 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5834fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5834fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5834fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 11269  bytes 3403994 (3.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15571  bytes 2113473 (2.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 155  bytes 9252 (9.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 155  bytes 9252 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57f7fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f7fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f7fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 11312  bytes 3417155 (3.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15639  bytes 2122145 (2.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 155  bytes 9252 (9.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 155  bytes 9252 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb66663f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb66663f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb66663f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 11351  bytes 3429795 (3.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15691  bytes 2129563 (2.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 155  bytes 9252 (9.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 155  bytes 9252 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb586bff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586bff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586bff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 11391  bytes 3442554 (3.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15751  bytes 2137519 (2.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 155  bytes 9252 (9.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 155  bytes 9252 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58c3fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c3fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c3fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 11437  bytes 3455958 (3.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15811  bytes 2145633 (2.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 155  bytes 9252 (9.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 155  bytes 9252 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5896fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5896fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5896fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 11480  bytes 3469041 (3.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15871  bytes 2153600 (2.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 155  bytes 9252 (9.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 155  bytes 9252 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58b4af0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b4af0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b4af0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 11519  bytes 3481711 (3.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15926  bytes 2161204 (2.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 155  bytes 9252 (9.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 155  bytes 9252 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb580ffb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb580ffb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb580ffb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 11569  bytes 3495649 (3.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15992  bytes 2169784 (2.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 155  bytes 9252 (9.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 155  bytes 9252 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb584df10>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584df10>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584df10>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 11614  bytes 3508864 (3.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16053  bytes 2177976 (2.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 155  bytes 9252 (9.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 155  bytes 9252 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb586deb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586deb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586deb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 11658  bytes 3521999 (3.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16110  bytes 2185852 (2.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 155  bytes 9252 (9.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 155  bytes 9252 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57d5fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d5fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d5fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 11700  bytes 3534973 (3.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16169  bytes 2193794 (2.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 160  bytes 9552 (9.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 160  bytes 9552 (9.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb586af90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586af90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586af90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 11740  bytes 3547619 (3.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16221  bytes 2201159 (2.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 162  bytes 9672 (9.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 162  bytes 9672 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5851f70>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5851f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5851f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 11801  bytes 3564812 (3.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16308  bytes 2213222 (2.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 162  bytes 9672 (9.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 162  bytes 9672 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb589af90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589af90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589af90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 11843  bytes 3577635 (3.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16361  bytes 2220654 (2.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 162  bytes 9672 (9.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 162  bytes 9672 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58c6ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c6ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c6ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 11886  bytes 3590796 (3.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16423  bytes 2228954 (2.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 162  bytes 9672 (9.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 162  bytes 9672 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57dbfd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57dbfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57dbfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 11927  bytes 3603548 (3.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16478  bytes 2236586 (2.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 162  bytes 9672 (9.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 162  bytes 9672 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb580bf90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb580bf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb580bf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 11972  bytes 3616770 (3.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16538  bytes 2244606 (2.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 162  bytes 9672 (9.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 162  bytes 9672 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58a8ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a8ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a8ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 12019  bytes 3630448 (3.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16603  bytes 2253210 (2.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 162  bytes 9672 (9.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 162  bytes 9672 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5870fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5870fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5870fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 12060  bytes 3643378 (3.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16661  bytes 2261102 (2.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 162  bytes 9672 (9.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 162  bytes 9672 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5822ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5822ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5822ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 12108  bytes 3656860 (3.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16722  bytes 2269504 (2.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 162  bytes 9672 (9.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 162  bytes 9672 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58c2fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c2fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c2fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 12149  bytes 3669726 (3.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16777  bytes 2277155 (2.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 162  bytes 9672 (9.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 162  bytes 9672 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5895ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5895ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5895ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 12188  bytes 3682444 (3.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16838  bytes 2285153 (2.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 162  bytes 9672 (9.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 162  bytes 9672 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb584afd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584afd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584afd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 12229  bytes 3695248 (3.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16892  bytes 2292703 (2.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 166  bytes 9912 (9.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 166  bytes 9912 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58b6fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b6fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b6fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 12275  bytes 3708562 (3.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16958  bytes 2301238 (2.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 169  bytes 10092 (9.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 169  bytes 10092 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57effd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57effd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57effd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 12316  bytes 3721378 (3.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17013  bytes 2308833 (2.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 169  bytes 10092 (9.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 169  bytes 10092 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5856fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5856fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5856fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 12379  bytes 3738731 (3.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17101  bytes 2321090 (2.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 169  bytes 10092 (9.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 169  bytes 10092 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5872fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5872fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5872fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 12418  bytes 3751416 (3.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17155  bytes 2328628 (2.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 169  bytes 10092 (9.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 169  bytes 10092 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5877fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5877fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5877fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 12467  bytes 3765264 (3.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17220  bytes 2337082 (2.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 169  bytes 10092 (9.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 169  bytes 10092 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58684d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58684d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58684d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 12507  bytes 3777977 (3.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17276  bytes 2344779 (2.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 169  bytes 10092 (9.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 169  bytes 10092 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57e2f70>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e2f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e2f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 12549  bytes 3790909 (3.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17330  bytes 2352437 (2.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 169  bytes 10092 (9.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 169  bytes 10092 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb584eff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584eff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584eff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 12592  bytes 3803992 (3.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17391  bytes 2360551 (2.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 169  bytes 10092 (9.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 169  bytes 10092 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5856ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5856ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5856ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 12635  bytes 3816989 (3.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17447  bytes 2368369 (2.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 169  bytes 10092 (9.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 169  bytes 10092 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5899fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5899fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5899fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 12680  bytes 3830298 (3.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17513  bytes 2377001 (2.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 169  bytes 10092 (9.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 169  bytes 10092 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58333b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58333b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58333b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 12719  bytes 3842914 (3.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17568  bytes 2384565 (2.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 169  bytes 10092 (9.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 169  bytes 10092 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb583df90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583df90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583df90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 12762  bytes 3855993 (3.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17628  bytes 2392593 (2.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 169  bytes 10092 (9.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 169  bytes 10092 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58a1ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a1ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a1ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 12800  bytes 3868496 (3.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17680  bytes 2399919 (2.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 175  bytes 10452 (10.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 175  bytes 10452 (10.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57f6f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f6f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f6f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 12841  bytes 3881425 (3.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17739  bytes 2407891 (2.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 176  bytes 10512 (10.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 176  bytes 10512 (10.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb585ff70>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585ff70>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585ff70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 12911  bytes 3899611 (3.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17833  bytes 2420682 (2.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 176  bytes 10512 (10.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 176  bytes 10512 (10.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5811fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5811fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5811fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 12951  bytes 3912478 (3.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17891  bytes 2428554 (2.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 176  bytes 10512 (10.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 176  bytes 10512 (10.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58b64f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b64f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b64f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 12991  bytes 3925178 (3.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17949  bytes 2436340 (2.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 176  bytes 10512 (10.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 176  bytes 10512 (10.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58a4fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a4fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a4fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 13032  bytes 3938084 (3.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18005  bytes 2444182 (2.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 176  bytes 10512 (10.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 176  bytes 10512 (10.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb582ffb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582ffb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582ffb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 13076  bytes 3951260 (3.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18069  bytes 2452610 (2.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 176  bytes 10512 (10.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 176  bytes 10512 (10.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5826ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5826ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5826ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 13118  bytes 3964115 (3.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18122  bytes 2460094 (2.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 176  bytes 10512 (10.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 176  bytes 10512 (10.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb584a530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584a530>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584a530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 13159  bytes 3977018 (3.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18183  bytes 2468136 (2.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 176  bytes 10512 (10.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 176  bytes 10512 (10.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57dc170>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57dc170>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57dc170>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 13201  bytes 3989901 (3.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18237  bytes 2475685 (2.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 176  bytes 10512 (10.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 176  bytes 10512 (10.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5872fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5872fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5872fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 13244  bytes 4002916 (3.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18298  bytes 2483719 (2.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 176  bytes 10512 (10.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 176  bytes 10512 (10.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5842f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5842f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5842f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 13286  bytes 4015908 (3.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18360  bytes 2491993 (2.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 176  bytes 10512 (10.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 176  bytes 10512 (10.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5832fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5832fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5832fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 13335  bytes 4029744 (3.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18426  bytes 2500533 (2.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 182  bytes 10872 (10.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 182  bytes 10872 (10.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57e6ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e6ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e6ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 13378  bytes 4042775 (3.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18485  bytes 2508575 (2.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 183  bytes 10932 (10.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 183  bytes 10932 (10.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb583bfb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583bfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583bfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 13441  bytes 4060103 (3.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18568  bytes 2520412 (2.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 183  bytes 10932 (10.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 183  bytes 10932 (10.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58b4ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b4ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b4ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 13480  bytes 4072746 (3.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18624  bytes 2528117 (2.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 183  bytes 10932 (10.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 183  bytes 10932 (10.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb585dff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585dff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585dff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 13519  bytes 4085447 (3.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18682  bytes 2536046 (2.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 183  bytes 10932 (10.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 183  bytes 10932 (10.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb585cfb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585cfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585cfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 13559  bytes 4098286 (3.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18742  bytes 2544073 (2.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 183  bytes 10932 (10.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 183  bytes 10932 (10.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5872fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5872fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5872fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 13601  bytes 4111197 (3.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18799  bytes 2551980 (2.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 183  bytes 10932 (10.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 183  bytes 10932 (10.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5862fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5862fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5862fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 13645  bytes 4124402 (3.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18861  bytes 2560203 (2.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 183  bytes 10932 (10.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 183  bytes 10932 (10.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5899fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5899fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5899fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 13686  bytes 4137255 (3.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18917  bytes 2568044 (2.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 183  bytes 10932 (10.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 183  bytes 10932 (10.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58d0fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58d0fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58d0fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 13727  bytes 4150157 (3.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18977  bytes 2576063 (2.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 183  bytes 10932 (10.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 183  bytes 10932 (10.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5804fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5804fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5804fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 13774  bytes 4163702 (3.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19038  bytes 2584214 (2.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 183  bytes 10932 (10.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 183  bytes 10932 (10.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58b92f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b92f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b92f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 13819  bytes 4177017 (3.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19102  bytes 2592638 (2.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 183  bytes 10932 (10.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 183  bytes 10932 (10.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58a5fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a5fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a5fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 13856  bytes 4189486 (3.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19156  bytes 2600156 (2.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 189  bytes 11292 (11.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 189  bytes 11292 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb583bfd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583bfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583bfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 13895  bytes 4202135 (4.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19208  bytes 2607566 (2.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 190  bytes 11352 (11.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 190  bytes 11352 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb588edb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588edb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588edb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 13996  bytes 4225345 (4.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19298  bytes 2620026 (2.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 190  bytes 11352 (11.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 190  bytes 11352 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb584cfb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584cfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584cfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 14037  bytes 4238272 (4.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19354  bytes 2627876 (2.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 190  bytes 11352 (11.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 190  bytes 11352 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58bcfb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58bcfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58bcfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 14076  bytes 4250969 (4.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19415  bytes 2635878 (2.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 190  bytes 11352 (11.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 190  bytes 11352 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5811fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5811fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5811fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 14121  bytes 4264282 (4.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19473  bytes 2643880 (2.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 190  bytes 11352 (11.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 190  bytes 11352 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5878230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5878230>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5878230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 14161  bytes 4277112 (4.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19532  bytes 2651742 (2.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 190  bytes 11352 (11.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 190  bytes 11352 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb585bfb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585bfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585bfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 14203  bytes 4290000 (4.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19587  bytes 2659346 (2.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 190  bytes 11352 (11.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 190  bytes 11352 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58821d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58821d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58821d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 14254  bytes 4303969 (4.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19652  bytes 2667827 (2.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 190  bytes 11352 (11.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 190  bytes 11352 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5879f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5879f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5879f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 14294  bytes 4316815 (4.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19712  bytes 2675949 (2.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 190  bytes 11352 (11.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 190  bytes 11352 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57f6130>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f6130>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f6130>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 14336  bytes 4329788 (4.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19765  bytes 2683411 (2.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 190  bytes 11352 (11.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 190  bytes 11352 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58c1150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c1150>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c1150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 14377  bytes 4342674 (4.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19827  bytes 2691701 (2.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 190  bytes 11352 (11.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 190  bytes 11352 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb583eff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583eff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583eff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 14422  bytes 4355750 (4.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19881  bytes 2699219 (2.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 195  bytes 11652 (11.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 195  bytes 11652 (11.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5863ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5863ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5863ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 14466  bytes 4368976 (4.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19948  bytes 2707877 (2.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 197  bytes 11772 (11.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 197  bytes 11772 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb583c210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583c210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583c210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 14524  bytes 4385783 (4.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20026  bytes 2719232 (2.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 197  bytes 11772 (11.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 197  bytes 11772 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58be190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58be190>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58be190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 14574  bytes 4399378 (4.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20094  bytes 2727971 (2.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 197  bytes 11772 (11.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 197  bytes 11772 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58b3fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b3fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b3fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 14615  bytes 4412122 (4.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20146  bytes 2735337 (2.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 197  bytes 11772 (11.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 197  bytes 11772 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57e2270>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e2270>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e2270>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 14658  bytes 4425196 (4.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20206  bytes 2743377 (2.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 197  bytes 11772 (11.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 197  bytes 11772 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5826fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5826fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5826fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 14706  bytes 4438884 (4.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20270  bytes 2751727 (2.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 197  bytes 11772 (11.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 197  bytes 11772 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58c0f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c0f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c0f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 14750  bytes 4452006 (4.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20329  bytes 2759673 (2.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 197  bytes 11772 (11.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 197  bytes 11772 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58c4fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c4fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c4fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 14791  bytes 4464714 (4.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20383  bytes 2767163 (2.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 197  bytes 11772 (11.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 197  bytes 11772 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5896f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5896f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5896f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 14833  bytes 4477721 (4.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20442  bytes 2775263 (2.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 197  bytes 11772 (11.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 197  bytes 11772 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5830ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5830ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5830ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 14875  bytes 4490766 (4.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20506  bytes 2783691 (2.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 197  bytes 11772 (11.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 197  bytes 11772 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb583a490>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583a490>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583a490>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 14915  bytes 4503500 (4.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20560  bytes 2791261 (2.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 197  bytes 11772 (11.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 197  bytes 11772 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5881fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5881fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5881fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 14959  bytes 4516550 (4.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20621  bytes 2799259 (2.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 201  bytes 12012 (11.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 201  bytes 12012 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5878fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5878fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5878fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 15003  bytes 4529602 (4.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20676  bytes 2806875 (2.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 204  bytes 12192 (11.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 204  bytes 12192 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb588cf70>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588cf70>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588cf70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 15044  bytes 4542589 (4.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20738  bytes 2815143 (2.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 204  bytes 12192 (11.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 204  bytes 12192 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58484d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58484d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58484d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 15103  bytes 4559542 (4.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20819  bytes 2826755 (2.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 204  bytes 12192 (11.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 204  bytes 12192 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5834fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5834fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5834fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 15153  bytes 4573451 (4.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20885  bytes 2835323 (2.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 204  bytes 12192 (11.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 204  bytes 12192 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5838f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5838f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5838f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 15196  bytes 4586596 (4.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20947  bytes 2843633 (2.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 204  bytes 12192 (11.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 204  bytes 12192 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb581efd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581efd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581efd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 15235  bytes 4599316 (4.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21004  bytes 2851375 (2.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 204  bytes 12192 (11.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 204  bytes 12192 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb588e150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588e150>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588e150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 15274  bytes 4612020 (4.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21061  bytes 2859126 (2.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 204  bytes 12192 (11.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 204  bytes 12192 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb582aff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582aff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582aff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 15313  bytes 4624589 (4.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21112  bytes 2866398 (2.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 204  bytes 12192 (11.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 204  bytes 12192 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5842fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5842fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5842fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 15356  bytes 4637765 (4.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21177  bytes 2874944 (2.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 204  bytes 12192 (11.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 204  bytes 12192 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5856ed0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5856ed0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5856ed0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 15394  bytes 4650314 (4.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21230  bytes 2882400 (2.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 204  bytes 12192 (11.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 204  bytes 12192 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57f4fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f4fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f4fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 15434  bytes 4663185 (4.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21291  bytes 2890474 (2.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 204  bytes 12192 (11.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 204  bytes 12192 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb585ffd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585ffd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585ffd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 15473  bytes 4675829 (4.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21344  bytes 2897930 (2.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 204  bytes 12192 (11.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 204  bytes 12192 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57e0fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e0fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e0fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 15518  bytes 4689156 (4.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21410  bytes 2906554 (2.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 210  bytes 12552 (12.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 210  bytes 12552 (12.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57edfd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57edfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57edfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 15565  bytes 4702729 (4.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21471  bytes 2914686 (2.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 211  bytes 12612 (12.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 211  bytes 12612 (12.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5860f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5860f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5860f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 15630  bytes 4720385 (4.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21557  bytes 2926878 (2.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 211  bytes 12612 (12.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 211  bytes 12612 (12.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb584df30>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584df30>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584df30>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 15670  bytes 4733060 (4.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21614  bytes 2934649 (2.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 211  bytes 12612 (12.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 211  bytes 12612 (12.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb589aff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589aff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589aff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 15708  bytes 4745651 (4.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21666  bytes 2942063 (2.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 211  bytes 12612 (12.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 211  bytes 12612 (12.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb582cff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582cff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582cff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 15748  bytes 4758456 (4.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21725  bytes 2950017 (2.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 211  bytes 12612 (12.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 211  bytes 12612 (12.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb589b130>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589b130>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589b130>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 15786  bytes 4771073 (4.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21778  bytes 2957525 (2.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 211  bytes 12612 (12.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 211  bytes 12612 (12.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5861fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5861fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5861fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 15828  bytes 4784116 (4.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21844  bytes 2966045 (2.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 211  bytes 12612 (12.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 211  bytes 12612 (12.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5825fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5825fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5825fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 15870  bytes 4797057 (4.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21903  bytes 2974073 (2.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 211  bytes 12612 (12.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 211  bytes 12612 (12.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5830fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5830fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5830fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 15911  bytes 4809929 (4.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21963  bytes 2982029 (2.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 211  bytes 12612 (12.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 211  bytes 12612 (12.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58162d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58162d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58162d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 15952  bytes 4822865 (4.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22023  bytes 2990182 (2.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 211  bytes 12612 (12.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 211  bytes 12612 (12.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57effb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57effb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57effb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 16000  bytes 4836612 (4.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22089  bytes 2998690 (2.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 211  bytes 12612 (12.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 211  bytes 12612 (12.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57fdf90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fdf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fdf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 16040  bytes 4849317 (4.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22143  bytes 3006247 (2.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 217  bytes 12972 (12.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 217  bytes 12972 (12.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5879ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5879ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5879ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 16084  bytes 4862504 (4.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22207  bytes 3014678 (2.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 218  bytes 13032 (12.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 218  bytes 13032 (12.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5893fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5893fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5893fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 16144  bytes 4879666 (4.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22294  bytes 3026926 (2.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 218  bytes 13032 (12.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 218  bytes 13032 (12.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57ec4d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57ec4d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57ec4d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 16182  bytes 4892177 (4.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22345  bytes 3034200 (2.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 218  bytes 13032 (12.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 218  bytes 13032 (12.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb585d2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585d2b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585d2b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 16223  bytes 4905106 (4.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22404  bytes 3042141 (2.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 218  bytes 13032 (12.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 218  bytes 13032 (12.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb583af90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583af90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583af90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 16262  bytes 4917672 (4.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22456  bytes 3049466 (2.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 218  bytes 13032 (12.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 218  bytes 13032 (12.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb589e0b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589e0b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589e0b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 16305  bytes 4930717 (4.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22515  bytes 3057426 (2.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 218  bytes 13032 (12.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 218  bytes 13032 (12.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5890ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5890ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5890ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 16339  bytes 4942950 (4.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22566  bytes 3064689 (2.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 218  bytes 13032 (12.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 218  bytes 13032 (12.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb580cf10>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb580cf10>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb580cf10>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 16383  bytes 4956222 (4.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22630  bytes 3073180 (2.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 218  bytes 13032 (12.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 218  bytes 13032 (12.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb589ef90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589ef90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589ef90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 16431  bytes 4969878 (4.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22693  bytes 3081463 (2.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 218  bytes 13032 (12.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 218  bytes 13032 (12.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5879fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5879fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5879fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 16477  bytes 4983299 (4.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22758  bytes 3090021 (2.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 218  bytes 13032 (12.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 218  bytes 13032 (12.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58b6fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b6fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b6fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 16515  bytes 4995808 (4.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22811  bytes 3097461 (2.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 218  bytes 13032 (12.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 218  bytes 13032 (12.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57f1f50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f1f50>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f1f50>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 16556  bytes 5008713 (4.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22868  bytes 3105259 (2.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 223  bytes 13332 (13.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 223  bytes 13332 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb587feb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587feb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587feb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 16596  bytes 5021412 (4.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22925  bytes 3112979 (2.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 225  bytes 13452 (13.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 225  bytes 13452 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb582e110>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582e110>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582e110>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 16659  bytes 5038767 (4.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23011  bytes 3125157 (2.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 225  bytes 13452 (13.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 225  bytes 13452 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb587ffd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587ffd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587ffd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 16701  bytes 5051672 (4.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23071  bytes 3133141 (2.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 225  bytes 13452 (13.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 225  bytes 13452 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5876b70>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5876b70>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5876b70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 16741  bytes 5064489 (4.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23123  bytes 3140590 (2.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 225  bytes 13452 (13.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 225  bytes 13452 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb587aff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587aff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587aff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 16782  bytes 5077413 (4.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23182  bytes 3148464 (3.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 225  bytes 13452 (13.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 225  bytes 13452 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58540d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58540d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58540d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 16821  bytes 5090096 (4.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23236  bytes 3156018 (3.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 225  bytes 13452 (13.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 225  bytes 13452 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb587d330>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587d330>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587d330>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 16867  bytes 5103681 (4.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23301  bytes 3164440 (3.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 225  bytes 13452 (13.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 225  bytes 13452 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57dbfd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57dbfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57dbfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 16909  bytes 5116724 (4.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23360  bytes 3172540 (3.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 225  bytes 13452 (13.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 225  bytes 13452 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb584b190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584b190>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584b190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 16951  bytes 5129682 (4.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23418  bytes 3180348 (3.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 225  bytes 13452 (13.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 225  bytes 13452 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb586dff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586dff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586dff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 16991  bytes 5142444 (4.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23476  bytes 3188177 (3.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 225  bytes 13452 (13.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 225  bytes 13452 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5875f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5875f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5875f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 17032  bytes 5155290 (4.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23535  bytes 3196121 (3.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 225  bytes 13452 (13.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 225  bytes 13452 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57f1ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f1ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f1ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 17073  bytes 5168192 (4.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23595  bytes 3204149 (3.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 230  bytes 13752 (13.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 230  bytes 13752 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5859150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5859150>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5859150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 17116  bytes 5181222 (4.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23655  bytes 3212231 (3.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 232  bytes 13872 (13.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 232  bytes 13872 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57f2fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f2fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f2fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 17178  bytes 5198529 (4.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23743  bytes 3224380 (3.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 232  bytes 13872 (13.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 232  bytes 13872 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58befd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58befd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58befd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 17222  bytes 5211609 (4.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23803  bytes 3232502 (3.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 232  bytes 13872 (13.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 232  bytes 13872 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5843f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5843f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5843f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 17264  bytes 5224548 (4.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23860  bytes 3240303 (3.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 232  bytes 13872 (13.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 232  bytes 13872 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5871390>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5871390>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5871390>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 17311  bytes 5238254 (4.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23926  bytes 3248971 (3.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 232  bytes 13872 (13.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 232  bytes 13872 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58ccfd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58ccfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58ccfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 17354  bytes 5251355 (5.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23988  bytes 3257123 (3.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 232  bytes 13872 (13.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 232  bytes 13872 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5896fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5896fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5896fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 17394  bytes 5263978 (5.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24042  bytes 3264629 (3.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 232  bytes 13872 (13.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 232  bytes 13872 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb65aacf0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb65aacf0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb65aacf0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 17435  bytes 5277040 (5.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24106  bytes 3273085 (3.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 232  bytes 13872 (13.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 232  bytes 13872 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5851ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5851ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5851ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 17478  bytes 5289919 (5.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24160  bytes 3280599 (3.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 232  bytes 13872 (13.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 232  bytes 13872 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb588cff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588cff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588cff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 17516  bytes 5302506 (5.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24213  bytes 3288083 (3.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 232  bytes 13872 (13.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 232  bytes 13872 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5895fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5895fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5895fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 17558  bytes 5315435 (5.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24272  bytes 3295993 (3.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 232  bytes 13872 (13.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 232  bytes 13872 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5873ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5873ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5873ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 17597  bytes 5328107 (5.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24327  bytes 3303589 (3.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 235  bytes 14052 (13.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 235  bytes 14052 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5897170>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5897170>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5897170>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 17642  bytes 5341313 (5.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24391  bytes 3311953 (3.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 239  bytes 14292 (13.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 239  bytes 14292 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57d6ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d6ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d6ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 17685  bytes 5354279 (5.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24446  bytes 3319609 (3.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 239  bytes 14292 (13.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 239  bytes 14292 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57f7fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f7fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f7fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 17755  bytes 5372484 (5.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24538  bytes 3332166 (3.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 239  bytes 14292 (13.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 239  bytes 14292 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb587bfb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587bfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587bfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 17796  bytes 5385395 (5.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24598  bytes 3340268 (3.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 239  bytes 14292 (13.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 239  bytes 14292 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb584df90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584df90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584df90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 17840  bytes 5398502 (5.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24655  bytes 3348049 (3.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 239  bytes 14292 (13.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 239  bytes 14292 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58cfed0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58cfed0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58cfed0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 17882  bytes 5411383 (5.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24713  bytes 3355879 (3.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 239  bytes 14292 (13.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 239  bytes 14292 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb582fff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582fff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582fff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 17918  bytes 5423817 (5.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24764  bytes 3363155 (3.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 239  bytes 14292 (13.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 239  bytes 14292 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57feff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57feff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57feff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 17959  bytes 5436843 (5.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24827  bytes 3371593 (3.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 239  bytes 14292 (13.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 239  bytes 14292 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58d2250>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58d2250>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58d2250>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 17999  bytes 5449545 (5.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24880  bytes 3379048 (3.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 239  bytes 14292 (13.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 239  bytes 14292 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58681d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58681d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58681d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 18043  bytes 5462740 (5.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24944  bytes 3387508 (3.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 239  bytes 14292 (13.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 239  bytes 14292 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58b7ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b7ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b7ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 18079  bytes 5475125 (5.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24993  bytes 3394680 (3.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 239  bytes 14292 (13.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 239  bytes 14292 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb586ef70>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586ef70>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586ef70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 18120  bytes 5488125 (5.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25055  bytes 3402908 (3.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 239  bytes 14292 (13.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 239  bytes 14292 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5897ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5897ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5897ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 18168  bytes 5501734 (5.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25116  bytes 3411052 (3.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 245  bytes 14652 (14.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 245  bytes 14652 (14.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57e9fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e9fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e9fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 18212  bytes 5514903 (5.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25177  bytes 3419158 (3.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 246  bytes 14712 (14.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 246  bytes 14712 (14.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5896f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5896f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5896f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 18272  bytes 5531994 (5.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25260  bytes 3431103 (3.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 246  bytes 14712 (14.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 246  bytes 14712 (14.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5806ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5806ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5806ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 18315  bytes 5545072 (5.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25318  bytes 3438995 (3.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 246  bytes 14712 (14.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 246  bytes 14712 (14.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb589cfb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589cfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589cfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 18356  bytes 5557862 (5.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25375  bytes 3446714 (3.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 246  bytes 14712 (14.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 246  bytes 14712 (14.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb583bfd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583bfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583bfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 18396  bytes 5570556 (5.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25428  bytes 3454189 (3.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 246  bytes 14712 (14.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 246  bytes 14712 (14.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5836fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5836fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5836fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 18439  bytes 5583673 (5.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25493  bytes 3462663 (3.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 246  bytes 14712 (14.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 246  bytes 14712 (14.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb65ec3d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb65ec3d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb65ec3d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 18478  bytes 5596368 (5.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25549  bytes 3470345 (3.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 246  bytes 14712 (14.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 246  bytes 14712 (14.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb589dff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589dff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589dff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 18519  bytes 5609215 (5.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25609  bytes 3478301 (3.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 246  bytes 14712 (14.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 246  bytes 14712 (14.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58d2f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58d2f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58d2f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 18562  bytes 5622294 (5.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25667  bytes 3486303 (3.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 246  bytes 14712 (14.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 246  bytes 14712 (14.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5821130>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5821130>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5821130>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 18611  bytes 5636215 (5.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25737  bytes 3495283 (3.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 246  bytes 14712 (14.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 246  bytes 14712 (14.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb586df90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586df90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586df90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 18650  bytes 5648904 (5.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25791  bytes 3502860 (3.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 246  bytes 14712 (14.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 246  bytes 14712 (14.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb581efb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581efb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581efb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 18691  bytes 5661769 (5.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25851  bytes 3510818 (3.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 252  bytes 15072 (14.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 252  bytes 15072 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58a0f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a0f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a0f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 18732  bytes 5674677 (5.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25910  bytes 3518881 (3.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 253  bytes 15132 (14.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 253  bytes 15132 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57dbfd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57dbfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57dbfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 18792  bytes 5691880 (5.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25996  bytes 3530997 (3.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 253  bytes 15132 (14.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 253  bytes 15132 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58b6fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b6fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b6fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 18833  bytes 5704701 (5.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26055  bytes 3538928 (3.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 253  bytes 15132 (14.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 253  bytes 15132 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb589ef70>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589ef70>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589ef70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 18873  bytes 5717354 (5.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26107  bytes 3546293 (3.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 253  bytes 15132 (14.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 253  bytes 15132 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58b8390>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b8390>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b8390>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 18915  bytes 5730413 (5.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26168  bytes 3554385 (3.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 253  bytes 15132 (14.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 253  bytes 15132 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57f1fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f1fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f1fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 18955  bytes 5743058 (5.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26222  bytes 3561901 (3.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 253  bytes 15132 (14.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 253  bytes 15132 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58aeef0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58aeef0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58aeef0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 19000  bytes 5756342 (5.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26286  bytes 3570360 (3.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 253  bytes 15132 (14.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 253  bytes 15132 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5838fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5838fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5838fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 19044  bytes 5769687 (5.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26348  bytes 3578548 (3.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 253  bytes 15132 (14.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 253  bytes 15132 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57e9eb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e9eb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e9eb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 19089  bytes 5783044 (5.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26411  bytes 3586954 (3.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 253  bytes 15132 (14.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 253  bytes 15132 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5842fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5842fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5842fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 19128  bytes 5795612 (5.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26464  bytes 3594394 (3.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 253  bytes 15132 (14.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 253  bytes 15132 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5888ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5888ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5888ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 19171  bytes 5808687 (5.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26524  bytes 3602426 (3.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 253  bytes 15132 (14.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 253  bytes 15132 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb589cf90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589cf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589cf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 19210  bytes 5821420 (5.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26583  bytes 3610442 (3.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 258  bytes 15432 (15.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 258  bytes 15432 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5801ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5801ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5801ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 19249  bytes 5834098 (5.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26635  bytes 3617876 (3.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 260  bytes 15552 (15.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 260  bytes 15552 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58adb90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58adb90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58adb90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 19309  bytes 5851146 (5.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26715  bytes 3629449 (3.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 260  bytes 15552 (15.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 260  bytes 15552 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb586cf90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586cf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586cf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 19351  bytes 5864261 (5.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26774  bytes 3637541 (3.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 260  bytes 15552 (15.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 260  bytes 15552 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57d5fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d5fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d5fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 19391  bytes 5877118 (5.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26834  bytes 3645477 (3.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 260  bytes 15552 (15.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 260  bytes 15552 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58c6fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c6fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c6fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 19428  bytes 5889624 (5.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26886  bytes 3652899 (3.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 260  bytes 15552 (15.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 260  bytes 15552 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57deff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57deff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57deff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 19478  bytes 5903518 (5.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26953  bytes 3661512 (3.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 260  bytes 15552 (15.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 260  bytes 15552 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57fafb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fafb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fafb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 19521  bytes 5916504 (5.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27008  bytes 3669156 (3.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 260  bytes 15552 (15.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 260  bytes 15552 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5840fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5840fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5840fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 19568  bytes 5929927 (5.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27071  bytes 3677502 (3.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 260  bytes 15552 (15.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 260  bytes 15552 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5808fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5808fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5808fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 19607  bytes 5942572 (5.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27127  bytes 3685200 (3.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 260  bytes 15552 (15.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 260  bytes 15552 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57ddf70>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57ddf70>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57ddf70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 19647  bytes 5955426 (5.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27184  bytes 3692974 (3.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 260  bytes 15552 (15.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 260  bytes 15552 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5844f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5844f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5844f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 19684  bytes 5967929 (5.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27240  bytes 3700664 (3.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 260  bytes 15552 (15.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 260  bytes 15552 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58a4fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a4fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a4fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 19723  bytes 5980517 (5.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27290  bytes 3707902 (3.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 265  bytes 15852 (15.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 265  bytes 15852 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb589efb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589efb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589efb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 19769  bytes 5993920 (5.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27356  bytes 3716514 (3.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 267  bytes 15972 (15.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 267  bytes 15972 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57f4ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f4ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f4ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 19828  bytes 6010787 (5.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27434  bytes 3727853 (3.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 267  bytes 15972 (15.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 267  bytes 15972 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57eefd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57eefd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57eefd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 19870  bytes 6023777 (5.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27495  bytes 3735947 (3.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 267  bytes 15972 (15.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 267  bytes 15972 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58a2170>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a2170>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a2170>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 19917  bytes 6037460 (5.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27561  bytes 3744569 (3.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 267  bytes 15972 (15.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 267  bytes 15972 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58d4f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58d4f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58d4f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 19959  bytes 6050500 (5.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27622  bytes 3752655 (3.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 267  bytes 15972 (15.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 267  bytes 15972 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb585aff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585aff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585aff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 19998  bytes 6063083 (5.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27676  bytes 3760161 (3.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 267  bytes 15972 (15.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 267  bytes 15972 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5808b10>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5808b10>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5808b10>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 20040  bytes 6076096 (5.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27735  bytes 3768125 (3.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 267  bytes 15972 (15.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 267  bytes 15972 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57d5110>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d5110>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d5110>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 20082  bytes 6089032 (5.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27795  bytes 3776243 (3.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 267  bytes 15972 (15.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 267  bytes 15972 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58150f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58150f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58150f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 20124  bytes 6101943 (5.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27849  bytes 3783805 (3.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 267  bytes 15972 (15.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 267  bytes 15972 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5808170>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5808170>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5808170>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 20167  bytes 6114939 (5.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27908  bytes 3791715 (3.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 267  bytes 15972 (15.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 267  bytes 15972 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58a8fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a8fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a8fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 20208  bytes 6127903 (5.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27968  bytes 3799873 (3.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 267  bytes 15972 (15.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 267  bytes 15972 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5fb7470>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5fb7470>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5fb7470>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 20248  bytes 6140685 (5.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28027  bytes 3807763 (3.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 270  bytes 16152 (15.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 270  bytes 16152 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58caaf0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58caaf0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58caaf0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 20289  bytes 6153502 (5.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28082  bytes 3815399 (3.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 274  bytes 16392 (16.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 274  bytes 16392 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58a7fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a7fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a7fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 20341  bytes 6167671 (5.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28153  bytes 3824485 (3.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 274  bytes 16392 (16.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 274  bytes 16392 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb581ffd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581ffd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581ffd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 20401  bytes 6184726 (5.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28234  bytes 3836097 (3.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 274  bytes 16392 (16.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 274  bytes 16392 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57fcfb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fcfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fcfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 20444  bytes 6197702 (5.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28292  bytes 3843913 (3.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 274  bytes 16392 (16.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 274  bytes 16392 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57eaf90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57eaf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57eaf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 20487  bytes 6210677 (5.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28348  bytes 3851623 (3.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 274  bytes 16392 (16.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 274  bytes 16392 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58a0510>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a0510>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a0510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 20529  bytes 6223751 (5.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28409  bytes 3859809 (3.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 274  bytes 16392 (16.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 274  bytes 16392 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5887ad0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5887ad0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5887ad0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 20570  bytes 6236573 (5.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28466  bytes 3867592 (3.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 274  bytes 16392 (16.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 274  bytes 16392 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58abf90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58abf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58abf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 20613  bytes 6249485 (5.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28521  bytes 3875195 (3.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 274  bytes 16392 (16.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 274  bytes 16392 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58caeb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58caeb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58caeb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 20656  bytes 6262534 (5.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28580  bytes 3883157 (3.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 274  bytes 16392 (16.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 274  bytes 16392 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5869fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5869fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5869fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 20696  bytes 6275213 (5.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28634  bytes 3890675 (3.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 274  bytes 16392 (16.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 274  bytes 16392 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58c8ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c8ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c8ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 20739  bytes 6288378 (5.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28701  bytes 3899332 (3.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 274  bytes 16392 (16.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 274  bytes 16392 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58cffd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58cffd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58cffd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 20786  bytes 6301937 (6.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28762  bytes 3907456 (3.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 274  bytes 16392 (16.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 274  bytes 16392 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57e2f30>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e2f30>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e2f30>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 20827  bytes 6314840 (6.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28823  bytes 3915522 (3.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 280  bytes 16752 (16.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 280  bytes 16752 (16.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5843ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5843ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5843ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 20882  bytes 6328443 (6.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28877  bytes 3923048 (3.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 281  bytes 16812 (16.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 281  bytes 16812 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58ce4b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58ce4b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58ce4b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 20943  bytes 6345662 (6.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28960  bytes 3934895 (3.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 281  bytes 16812 (16.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 281  bytes 16812 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb580cf90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb580cf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb580cf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 20984  bytes 6358420 (6.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29015  bytes 3942455 (3.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 281  bytes 16812 (16.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 281  bytes 16812 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58abfd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58abfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58abfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 21023  bytes 6371218 (6.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29073  bytes 3950453 (3.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 281  bytes 16812 (16.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 281  bytes 16812 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5862fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5862fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5862fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 21065  bytes 6384159 (6.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29131  bytes 3958281 (3.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 281  bytes 16812 (16.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 281  bytes 16812 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5818490>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5818490>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5818490>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 21105  bytes 6397015 (6.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29190  bytes 3966352 (3.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 281  bytes 16812 (16.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 281  bytes 16812 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5850fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5850fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5850fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 21145  bytes 6409850 (6.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29251  bytes 3974397 (3.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 281  bytes 16812 (16.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 281  bytes 16812 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5814150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5814150>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5814150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 21185  bytes 6422694 (6.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29308  bytes 3982357 (3.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 281  bytes 16812 (16.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 281  bytes 16812 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb581bfb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581bfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581bfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 21236  bytes 6436693 (6.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29376  bytes 3991057 (3.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 281  bytes 16812 (16.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 281  bytes 16812 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb586afd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586afd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586afd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 21280  bytes 6449880 (6.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29437  bytes 3999284 (3.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 281  bytes 16812 (16.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 281  bytes 16812 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57e1ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e1ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e1ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 21323  bytes 6462870 (6.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29495  bytes 4007119 (3.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 281  bytes 16812 (16.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 281  bytes 16812 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5886fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5886fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5886fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 21362  bytes 6475522 (6.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29549  bytes 4014676 (3.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 287  bytes 17172 (16.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 287  bytes 17172 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58b7fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b7fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b7fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 21404  bytes 6488532 (6.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29608  bytes 4022709 (3.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 288  bytes 17232 (16.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 288  bytes 17232 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58cefd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58cefd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58cefd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 21462  bytes 6505423 (6.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29692  bytes 4034658 (3.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 288  bytes 17232 (16.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 288  bytes 17232 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57d9fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d9fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d9fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 21501  bytes 6518062 (6.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29746  bytes 4042127 (3.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 288  bytes 17232 (16.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 288  bytes 17232 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58caff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58caff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58caff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 21547  bytes 6531421 (6.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29813  bytes 4050824 (3.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 288  bytes 17232 (16.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 288  bytes 17232 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb587eff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587eff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587eff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 21587  bytes 6544114 (6.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29866  bytes 4058235 (3.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 288  bytes 17232 (16.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 288  bytes 17232 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57eefd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57eefd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57eefd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 21630  bytes 6557191 (6.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29927  bytes 4066324 (3.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 288  bytes 17232 (16.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 288  bytes 17232 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb588ffd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588ffd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588ffd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 21676  bytes 6570717 (6.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29989  bytes 4074493 (3.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 288  bytes 17232 (16.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 288  bytes 17232 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5835fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5835fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5835fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 21719  bytes 6583797 (6.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30049  bytes 4082512 (3.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 288  bytes 17232 (16.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 288  bytes 17232 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57fd190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fd190>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fd190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 21759  bytes 6596610 (6.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30108  bytes 4090559 (3.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 288  bytes 17232 (16.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 288  bytes 17232 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb588ff90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588ff90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588ff90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 21799  bytes 6609469 (6.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30167  bytes 4098485 (3.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 288  bytes 17232 (16.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 288  bytes 17232 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58c9fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c9fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c9fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 21837  bytes 6621946 (6.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30220  bytes 4105913 (3.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 288  bytes 17232 (16.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 288  bytes 17232 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5889fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5889fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5889fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 21879  bytes 6635052 (6.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30279  bytes 4114047 (3.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 293  bytes 17532 (17.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 293  bytes 17532 (17.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb588afd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588afd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588afd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 21917  bytes 6647608 (6.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30335  bytes 4121733 (3.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 295  bytes 17652 (17.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 295  bytes 17652 (17.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58204f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58204f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58204f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 21979  bytes 6664882 (6.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30416  bytes 4133422 (3.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 295  bytes 17652 (17.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 295  bytes 17652 (17.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb584bfd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584bfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584bfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 22023  bytes 6678018 (6.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30474  bytes 4141246 (3.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 295  bytes 17652 (17.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 295  bytes 17652 (17.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb587dfd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587dfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587dfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 22063  bytes 6690867 (6.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30530  bytes 4149120 (3.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 295  bytes 17652 (17.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 295  bytes 17652 (17.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5844f70>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5844f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5844f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 22111  bytes 6704627 (6.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30597  bytes 4157701 (3.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 295  bytes 17652 (17.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 295  bytes 17652 (17.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58c9f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c9f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c9f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 22151  bytes 6717362 (6.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30649  bytes 4165143 (3.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 295  bytes 17652 (17.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 295  bytes 17652 (17.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb589ff90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589ff90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589ff90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 22193  bytes 6730341 (6.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30708  bytes 4173029 (3.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 295  bytes 17652 (17.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 295  bytes 17652 (17.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb586dfd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586dfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586dfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 22235  bytes 6743333 (6.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30767  bytes 4181104 (3.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 295  bytes 17652 (17.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 295  bytes 17652 (17.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58caf50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58caf50>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58caf50>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 22276  bytes 6756182 (6.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30826  bytes 4188937 (3.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 295  bytes 17652 (17.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 295  bytes 17652 (17.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb585bfd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585bfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585bfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 22313  bytes 6768712 (6.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30880  bytes 4196487 (4.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 295  bytes 17652 (17.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 295  bytes 17652 (17.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57fbfd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fbfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fbfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 22351  bytes 6781350 (6.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30935  bytes 4204235 (4.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 295  bytes 17652 (17.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 295  bytes 17652 (17.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb582fff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582fff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582fff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 22391  bytes 6794242 (6.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30996  bytes 4212309 (4.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 300  bytes 17952 (17.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 300  bytes 17952 (17.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb584cff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584cff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584cff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 22434  bytes 6807212 (6.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31051  bytes 4220020 (4.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 302  bytes 18072 (17.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 302  bytes 18072 (17.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb585dfd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585dfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585dfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 22496  bytes 6824496 (6.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31140  bytes 4232275 (4.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 302  bytes 18072 (17.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 302  bytes 18072 (17.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb585ff90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585ff90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585ff90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 22543  bytes 6838095 (6.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31202  bytes 4240465 (4.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 302  bytes 18072 (17.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 302  bytes 18072 (17.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb588c370>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588c370>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588c370>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 22585  bytes 6851223 (6.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31266  bytes 4248917 (4.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 302  bytes 18072 (17.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 302  bytes 18072 (17.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57fdff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fdff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fdff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 22626  bytes 6863981 (6.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31319  bytes 4256373 (4.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 302  bytes 18072 (17.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 302  bytes 18072 (17.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58bef90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58bef90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58bef90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 22668  bytes 6876971 (6.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31378  bytes 4264327 (4.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 302  bytes 18072 (17.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 302  bytes 18072 (17.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58384f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58384f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58384f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 22709  bytes 6889712 (6.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31433  bytes 4271879 (4.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 302  bytes 18072 (17.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 302  bytes 18072 (17.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5857310>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5857310>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5857310>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 22753  bytes 6902988 (6.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31493  bytes 4280087 (4.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 302  bytes 18072 (17.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 302  bytes 18072 (17.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57f9ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f9ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f9ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 22790  bytes 6915408 (6.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31545  bytes 4287479 (4.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 302  bytes 18072 (17.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 302  bytes 18072 (17.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57ebfd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57ebfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57ebfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 22833  bytes 6928369 (6.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31599  bytes 4295073 (4.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 302  bytes 18072 (17.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 302  bytes 18072 (17.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57eef90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57eef90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57eef90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 22877  bytes 6941475 (6.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31660  bytes 4303135 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 302  bytes 18072 (17.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 302  bytes 18072 (17.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58cdfb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58cdfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58cdfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 22918  bytes 6954430 (6.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31718  bytes 4311181 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 305  bytes 18252 (17.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 305  bytes 18252 (17.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5876f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5876f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5876f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 22970  bytes 6968489 (6.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31786  bytes 4319889 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 309  bytes 18492 (18.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 309  bytes 18492 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57dafb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57dafb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57dafb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 23011  bytes 6981333 (6.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31840  bytes 4327483 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 309  bytes 18492 (18.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 309  bytes 18492 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb589ef30>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589ef30>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589ef30>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 23073  bytes 6998643 (6.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31931  bytes 4339938 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 309  bytes 18492 (18.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 309  bytes 18492 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5851170>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5851170>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5851170>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 23112  bytes 7011310 (6.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31985  bytes 4347516 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 309  bytes 18492 (18.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 309  bytes 18492 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5801fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5801fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5801fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 23157  bytes 7024586 (6.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32048  bytes 4355881 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 309  bytes 18492 (18.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 309  bytes 18492 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb587cfd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587cfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587cfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 23197  bytes 7037320 (6.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32105  bytes 4363665 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 309  bytes 18492 (18.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 309  bytes 18492 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb589cfd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589cfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589cfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 23238  bytes 7050038 (6.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32156  bytes 4370937 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 309  bytes 18492 (18.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 309  bytes 18492 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5842530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5842530>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5842530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 23283  bytes 7063356 (6.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32221  bytes 4379463 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 309  bytes 18492 (18.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 309  bytes 18492 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5852f70>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5852f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5852f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 23324  bytes 7076098 (6.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32272  bytes 4386763 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 309  bytes 18492 (18.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 309  bytes 18492 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5801330>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5801330>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5801330>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 23369  bytes 7089334 (6.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32333  bytes 4394876 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 309  bytes 18492 (18.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 309  bytes 18492 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5834330>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5834330>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5834330>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 23415  bytes 7102842 (6.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32394  bytes 4403040 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 309  bytes 18492 (18.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 309  bytes 18492 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58adff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58adff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58adff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 23458  bytes 7115903 (6.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32453  bytes 4410974 (4.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 309  bytes 18492 (18.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 309  bytes 18492 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57f51d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f51d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f51d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 23501  bytes 7128850 (6.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32511  bytes 4418955 (4.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 315  bytes 18852 (18.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 315  bytes 18852 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5810150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5810150>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5810150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 23543  bytes 7141833 (6.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32569  bytes 4426843 (4.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 316  bytes 18912 (18.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 316  bytes 18912 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb589bf90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589bf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589bf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 23602  bytes 7158820 (6.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32654  bytes 4438940 (4.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 316  bytes 18912 (18.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 316  bytes 18912 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5854fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5854fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5854fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 23642  bytes 7171671 (6.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32711  bytes 4446770 (4.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 316  bytes 18912 (18.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 316  bytes 18912 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5829f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5829f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5829f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 23682  bytes 7184372 (6.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32767  bytes 4454440 (4.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 316  bytes 18912 (18.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 316  bytes 18912 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb585aff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585aff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585aff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 23721  bytes 7197152 (6.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32825  bytes 4462446 (4.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 316  bytes 18912 (18.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 316  bytes 18912 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57e6fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e6fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e6fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 23803  bytes 7216182 (6.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32885  bytes 4470426 (4.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 316  bytes 18912 (18.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 316  bytes 18912 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58d4ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58d4ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58d4ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 23842  bytes 7228862 (6.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32938  bytes 4477913 (4.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 316  bytes 18912 (18.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 316  bytes 18912 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb580bfd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb580bfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb580bfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 23945  bytes 7251755 (6.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33016  bytes 4487617 (4.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 316  bytes 18912 (18.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 316  bytes 18912 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5825fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5825fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5825fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 23996  bytes 7266916 (6.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33074  bytes 4495641 (4.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 316  bytes 18912 (18.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 316  bytes 18912 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5892fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5892fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5892fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 24048  bytes 7281398 (6.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33133  bytes 4503542 (4.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 316  bytes 18912 (18.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 316  bytes 18912 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5806fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5806fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5806fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 24090  bytes 7294415 (6.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33193  bytes 4511683 (4.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 316  bytes 18912 (18.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 316  bytes 18912 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57e3f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e3f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e3f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 24133  bytes 7307388 (6.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33250  bytes 4519424 (4.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 322  bytes 19272 (18.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 322  bytes 19272 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58ba370>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58ba370>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58ba370>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 24173  bytes 7320149 (6.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33307  bytes 4527187 (4.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 323  bytes 19332 (18.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 323  bytes 19332 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb585fed0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585fed0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585fed0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 24235  bytes 7337976 (6.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33384  bytes 4538494 (4.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 323  bytes 19332 (18.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 323  bytes 19332 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57fcf70>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fcf70>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fcf70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 24280  bytes 7351267 (7.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33449  bytes 4547023 (4.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 323  bytes 19332 (18.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 323  bytes 19332 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58814d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58814d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58814d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 24323  bytes 7364306 (7.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33507  bytes 4554972 (4.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 323  bytes 19332 (18.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 323  bytes 19332 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb584ef90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584ef90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584ef90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 24366  bytes 7377405 (7.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33571  bytes 4563239 (4.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 323  bytes 19332 (18.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 323  bytes 19332 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5875fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5875fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5875fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 24415  bytes 7391122 (7.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33632  bytes 4571382 (4.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 323  bytes 19332 (18.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 323  bytes 19332 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58cefd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58cefd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58cefd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 24458  bytes 7404208 (7.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33693  bytes 4579488 (4.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 323  bytes 19332 (18.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 323  bytes 19332 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57d8ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d8ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d8ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 24507  bytes 7417756 (7.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33751  bytes 4587446 (4.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 323  bytes 19332 (18.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 323  bytes 19332 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5825ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5825ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5825ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 24554  bytes 7431525 (7.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33812  bytes 4595552 (4.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 323  bytes 19332 (18.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 323  bytes 19332 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58b0fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b0fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b0fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 24594  bytes 7444173 (7.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33865  bytes 4602991 (4.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 323  bytes 19332 (18.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 323  bytes 19332 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58bbff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58bbff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58bbff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 24638  bytes 7457231 (7.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33922  bytes 4610797 (4.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 323  bytes 19332 (18.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 323  bytes 19332 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57d9af0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d9af0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d9af0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 24681  bytes 7470201 (7.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33982  bytes 4618927 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 328  bytes 19632 (19.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 328  bytes 19632 (19.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58d3f30>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58d3f30>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58d3f30>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 24723  bytes 7483223 (7.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34035  bytes 4626427 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 330  bytes 19752 (19.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 330  bytes 19752 (19.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5869150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5869150>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5869150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 24789  bytes 7501445 (7.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34119  bytes 4638260 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 330  bytes 19752 (19.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 330  bytes 19752 (19.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5828fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5828fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5828fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 24830  bytes 7514351 (7.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34177  bytes 4646242 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 330  bytes 19752 (19.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 330  bytes 19752 (19.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57fffd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fffd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fffd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 24878  bytes 7528084 (7.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34246  bytes 4654952 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 330  bytes 19752 (19.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 330  bytes 19752 (19.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb588fff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588fff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588fff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 24919  bytes 7540904 (7.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34301  bytes 4662547 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 330  bytes 19752 (19.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 330  bytes 19752 (19.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57e3fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e3fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e3fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 24973  bytes 7554903 (7.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34364  bytes 4670901 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 330  bytes 19752 (19.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 330  bytes 19752 (19.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5838ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5838ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5838ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 25013  bytes 7567730 (7.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34418  bytes 4678483 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 330  bytes 19752 (19.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 330  bytes 19752 (19.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5f235f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5f235f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5f235f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 25057  bytes 7580918 (7.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34481  bytes 4686809 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 330  bytes 19752 (19.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 330  bytes 19752 (19.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58442d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58442d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58442d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 25097  bytes 7593627 (7.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34536  bytes 4694441 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 330  bytes 19752 (19.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 330  bytes 19752 (19.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57dffb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57dffb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57dffb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 25141  bytes 7606794 (7.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34594  bytes 4702436 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 330  bytes 19752 (19.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 330  bytes 19752 (19.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5852ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5852ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5852ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 25180  bytes 7619483 (7.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34649  bytes 4710087 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 330  bytes 19752 (19.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 330  bytes 19752 (19.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5870f70>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5870f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5870f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 25219  bytes 7632077 (7.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34699  bytes 4717345 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 335  bytes 20052 (19.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 335  bytes 20052 (19.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58c9650>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c9650>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c9650>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 25260  bytes 7644981 (7.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34758  bytes 4725306 (4.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 337  bytes 20172 (19.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 337  bytes 20172 (19.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58a7ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a7ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a7ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 25334  bytes 7663359 (7.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34851  bytes 4738023 (4.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 337  bytes 20172 (19.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 337  bytes 20172 (19.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5841ad0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5841ad0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5841ad0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 25376  bytes 7676346 (7.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34910  bytes 4745985 (4.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 337  bytes 20172 (19.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 337  bytes 20172 (19.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5832f50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5832f50>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5832f50>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 25423  bytes 7689610 (7.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34963  bytes 4753417 (4.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 337  bytes 20172 (19.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 337  bytes 20172 (19.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57ebfb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57ebfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57ebfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 25468  bytes 7702941 (7.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35028  bytes 4761955 (4.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 337  bytes 20172 (19.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 337  bytes 20172 (19.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5846f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5846f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5846f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 25508  bytes 7715623 (7.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35082  bytes 4769505 (4.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 337  bytes 20172 (19.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 337  bytes 20172 (19.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58bcf90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58bcf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58bcf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 25551  bytes 7728703 (7.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35142  bytes 4777537 (4.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 337  bytes 20172 (19.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 337  bytes 20172 (19.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58714b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58714b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58714b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 25595  bytes 7741794 (7.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35201  bytes 4785593 (4.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 337  bytes 20172 (19.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 337  bytes 20172 (19.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57dbfb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57dbfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57dbfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 25637  bytes 7754600 (7.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35252  bytes 4792940 (4.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 337  bytes 20172 (19.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 337  bytes 20172 (19.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb581dff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581dff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581dff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 25681  bytes 7767768 (7.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35313  bytes 4801154 (4.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 337  bytes 20172 (19.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 337  bytes 20172 (19.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5833ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5833ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5833ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 25723  bytes 7780690 (7.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35367  bytes 4808743 (4.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 337  bytes 20172 (19.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 337  bytes 20172 (19.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb580afb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb580afb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb580afb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 25774  bytes 7794688 (7.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35435  bytes 4817467 (4.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 340  bytes 20352 (19.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 340  bytes 20352 (19.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5843f70>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5843f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5843f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 25814  bytes 7807427 (7.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35488  bytes 4824939 (4.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 344  bytes 20592 (20.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 344  bytes 20592 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57f1330>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f1330>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f1330>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 25863  bytes 7820961 (7.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35547  bytes 4832861 (4.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 344  bytes 20592 (20.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 344  bytes 20592 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58d2190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58d2190>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58d2190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 25927  bytes 7838423 (7.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35631  bytes 4844884 (4.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 344  bytes 20592 (20.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 344  bytes 20592 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5817fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5817fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5817fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 25971  bytes 7851589 (7.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35694  bytes 4853238 (4.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 344  bytes 20592 (20.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 344  bytes 20592 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58bcf90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58bcf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58bcf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 26015  bytes 7864561 (7.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35750  bytes 4860948 (4.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 344  bytes 20592 (20.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 344  bytes 20592 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5832fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5832fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5832fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 26056  bytes 7877377 (7.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35804  bytes 4868476 (4.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 344  bytes 20592 (20.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 344  bytes 20592 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5866fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5866fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5866fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 26097  bytes 7890270 (7.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35862  bytes 4876378 (4.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 344  bytes 20592 (20.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 344  bytes 20592 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57def90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57def90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57def90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 26135  bytes 7902793 (7.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35918  bytes 4884092 (4.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 344  bytes 20592 (20.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 344  bytes 20592 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5864af0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5864af0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5864af0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 26181  bytes 7916206 (7.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35981  bytes 4892466 (4.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 344  bytes 20592 (20.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 344  bytes 20592 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5848fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5848fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5848fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 26226  bytes 7929639 (7.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36046  bytes 4900874 (4.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 344  bytes 20592 (20.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 344  bytes 20592 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58bfff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58bfff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58bfff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 26268  bytes 7942719 (7.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36109  bytes 4909268 (4.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 344  bytes 20592 (20.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 344  bytes 20592 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57e6fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e6fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e6fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 26315  bytes 7955994 (7.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36162  bytes 4916723 (4.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 344  bytes 20592 (20.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 344  bytes 20592 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5865330>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5865330>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5865330>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 26373  bytes 7971970 (7.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36221  bytes 4924677 (4.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 350  bytes 20952 (20.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 350  bytes 20952 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb582efd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582efd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582efd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 26416  bytes 7985343 (7.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36274  bytes 4932117 (4.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 351  bytes 21012 (20.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 351  bytes 21012 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5866fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5866fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5866fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 26480  bytes 8003484 (7.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36358  bytes 4944006 (4.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 351  bytes 21012 (20.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 351  bytes 21012 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5879ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5879ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5879ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 26523  bytes 8016313 (7.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36413  bytes 4951566 (4.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 351  bytes 21012 (20.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 351  bytes 21012 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5800ed0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5800ed0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5800ed0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 26570  bytes 8030096 (7.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36470  bytes 4959454 (4.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 351  bytes 21012 (20.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 351  bytes 21012 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58902d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58902d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58902d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 26613  bytes 8043091 (7.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36532  bytes 4967602 (4.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 351  bytes 21012 (20.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 351  bytes 21012 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5844f70>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5844f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5844f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 26651  bytes 8055686 (7.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36586  bytes 4975156 (4.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 351  bytes 21012 (20.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 351  bytes 21012 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57daf30>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57daf30>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57daf30>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 26706  bytes 8070041 (7.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36655  bytes 4983949 (4.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 351  bytes 21012 (20.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 351  bytes 21012 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb587cf90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587cf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587cf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 26744  bytes 8082673 (7.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36712  bytes 4991870 (4.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 351  bytes 21012 (20.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 351  bytes 21012 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58b4f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b4f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b4f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 26792  bytes 8096152 (7.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36773  bytes 4999905 (4.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 351  bytes 21012 (20.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 351  bytes 21012 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57edff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57edff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57edff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 26830  bytes 8108827 (7.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36830  bytes 5007854 (4.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 351  bytes 21012 (20.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 351  bytes 21012 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57f0fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f0fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f0fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 26874  bytes 8121881 (7.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36890  bytes 5015842 (4.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 351  bytes 21012 (20.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 351  bytes 21012 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5855f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5855f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5855f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 26915  bytes 8134829 (7.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36950  bytes 5024004 (4.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 357  bytes 21372 (20.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 357  bytes 21372 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5863ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5863ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5863ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 26956  bytes 8147677 (7.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37007  bytes 5031739 (4.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 358  bytes 21432 (20.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 358  bytes 21432 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb587ffd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587ffd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587ffd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 27020  bytes 8164968 (7.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37088  bytes 5043385 (4.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 358  bytes 21432 (20.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 358  bytes 21432 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58c3fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c3fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c3fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 27062  bytes 8177901 (7.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37145  bytes 5051250 (4.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 358  bytes 21432 (20.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 358  bytes 21432 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58a8fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a8fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a8fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 27104  bytes 8190913 (7.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37206  bytes 5059365 (4.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 358  bytes 21432 (20.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 358  bytes 21432 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5845f30>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5845f30>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5845f30>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 27156  bytes 8204979 (7.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37270  bytes 5067896 (4.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 358  bytes 21432 (20.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 358  bytes 21432 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5888fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5888fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5888fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 27202  bytes 8218252 (7.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37331  bytes 5075988 (4.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 358  bytes 21432 (20.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 358  bytes 21432 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58b6fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b6fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b6fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 27250  bytes 8231708 (7.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37388  bytes 5083874 (4.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 358  bytes 21432 (20.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 358  bytes 21432 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb582dff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582dff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582dff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 27292  bytes 8244670 (7.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37447  bytes 5091830 (4.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 358  bytes 21432 (20.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 358  bytes 21432 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5841fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5841fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5841fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 27336  bytes 8257642 (7.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37502  bytes 5099460 (4.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 358  bytes 21432 (20.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 358  bytes 21432 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5829290>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5829290>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5829290>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 27383  bytes 8271052 (7.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37564  bytes 5107761 (4.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 358  bytes 21432 (20.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 358  bytes 21432 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5852fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5852fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5852fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 27421  bytes 8283582 (7.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37620  bytes 5115369 (4.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 358  bytes 21432 (20.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 358  bytes 21432 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5896ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5896ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5896ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 27460  bytes 8296366 (7.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37672  bytes 5122760 (4.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 363  bytes 21732 (21.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 363  bytes 21732 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5fc0fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5fc0fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5fc0fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 27504  bytes 8309553 (7.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37735  bytes 5131104 (4.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 365  bytes 21852 (21.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 365  bytes 21852 (21.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57e9f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e9f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e9f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 27566  bytes 8326674 (7.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37817  bytes 5142837 (4.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 365  bytes 21852 (21.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 365  bytes 21852 (21.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58b7fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b7fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b7fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 27615  bytes 8340500 (7.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37885  bytes 5151527 (4.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 365  bytes 21852 (21.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 365  bytes 21852 (21.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58521f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58521f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58521f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 27656  bytes 8353453 (7.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37945  bytes 5159663 (4.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 365  bytes 21852 (21.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 365  bytes 21852 (21.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb583cff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583cff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583cff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 27707  bytes 8367154 (7.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38006  bytes 5167707 (4.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 365  bytes 21852 (21.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 365  bytes 21852 (21.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57f6370>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f6370>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f6370>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 27749  bytes 8380201 (7.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38066  bytes 5175842 (4.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 365  bytes 21852 (21.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 365  bytes 21852 (21.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5814ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5814ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5814ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 27790  bytes 8393029 (8.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38126  bytes 5183792 (4.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 365  bytes 21852 (21.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 365  bytes 21852 (21.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5808e90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5808e90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5808e90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 27829  bytes 8405724 (8.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38183  bytes 5191550 (4.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 365  bytes 21852 (21.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 365  bytes 21852 (21.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58a6fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a6fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a6fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 27876  bytes 8418935 (8.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38240  bytes 5199306 (4.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 365  bytes 21852 (21.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 365  bytes 21852 (21.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5867ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5867ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5867ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 27917  bytes 8431842 (8.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38302  bytes 5207578 (4.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 365  bytes 21852 (21.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 365  bytes 21852 (21.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb584e350>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584e350>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584e350>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 27956  bytes 8444430 (8.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38352  bytes 5214830 (4.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 365  bytes 21852 (21.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 365  bytes 21852 (21.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58a7fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a7fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a7fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 27996  bytes 8457270 (8.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38412  bytes 5222860 (4.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 370  bytes 22152 (21.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 370  bytes 22152 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5844f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5844f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5844f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 28049  bytes 8471270 (8.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38473  bytes 5231025 (4.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 372  bytes 22272 (21.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 372  bytes 22272 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58362d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58362d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58362d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 28113  bytes 8488833 (8.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38563  bytes 5243539 (5.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 372  bytes 22272 (21.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 372  bytes 22272 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5832fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5832fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5832fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 28157  bytes 8501888 (8.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38613  bytes 5250779 (5.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 372  bytes 22272 (21.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 372  bytes 22272 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5874110>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5874110>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5874110>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 28200  bytes 8514950 (8.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38674  bytes 5258887 (5.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 372  bytes 22272 (21.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 372  bytes 22272 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58adf70>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58adf70>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58adf70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 28237  bytes 8527398 (8.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38729  bytes 5266421 (5.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 372  bytes 22272 (21.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 372  bytes 22272 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb586af30>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586af30>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586af30>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 28279  bytes 8540479 (8.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38793  bytes 5274847 (5.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 372  bytes 22272 (21.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 372  bytes 22272 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57eafd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57eafd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57eafd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 28321  bytes 8553278 (8.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38849  bytes 5282475 (5.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 372  bytes 22272 (21.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 372  bytes 22272 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5852170>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5852170>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5852170>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 28366  bytes 8566457 (8.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38908  bytes 5290517 (5.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 372  bytes 22272 (21.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 372  bytes 22272 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58cfff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58cfff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58cfff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 28408  bytes 8579414 (8.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38969  bytes 5298561 (5.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 372  bytes 22272 (21.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 372  bytes 22272 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5800ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5800ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5800ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 28445  bytes 8591890 (8.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39021  bytes 5305960 (5.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 372  bytes 22272 (21.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 372  bytes 22272 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5857b50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5857b50>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5857b50>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 28496  bytes 8605977 (8.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39092  bytes 5314912 (5.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 372  bytes 22272 (21.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 372  bytes 22272 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57f2130>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f2130>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f2130>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 28539  bytes 8618890 (8.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39148  bytes 5322700 (5.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 375  bytes 22452 (21.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 375  bytes 22452 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb582eff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582eff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582eff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 28586  bytes 8632300 (8.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39207  bytes 5330591 (5.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 378  bytes 22632 (22.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 378  bytes 22632 (22.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb582c4f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582c4f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582c4f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 28627  bytes 8645226 (8.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39266  bytes 5338681 (5.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 379  bytes 22692 (22.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 379  bytes 22692 (22.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58a4690>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a4690>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a4690>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 28687  bytes 8662234 (8.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39351  bytes 5350554 (5.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 379  bytes 22692 (22.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 379  bytes 22692 (22.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb580bfd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb580bfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb580bfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 28732  bytes 8675415 (8.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39410  bytes 5358632 (5.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 379  bytes 22692 (22.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 379  bytes 22692 (22.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5848fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5848fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5848fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10  bytes 1766 (1.7 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 12  bytes 720 (720.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12  bytes 720 (720.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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 57, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/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 0xb58cd290>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58cd290>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/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='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58cd290>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 62  bytes 7476 (7.3 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 60  bytes 5276 (5.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 60  bytes 5276 (5.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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 57, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/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 0xb5864270>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5864270>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/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='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5864270>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 169.254.249.16  netmask 255.255.0.0  broadcast 169.254.255.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 78  bytes 29288 (28.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 131  bytes 17649 (17.2 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 70  bytes 6260 (6.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 70  bytes 6260 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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 57, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/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 0xb5837290>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5837290>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/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='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5837290>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 501  bytes 99903 (97.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 406  bytes 47048 (45.9 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 70  bytes 6260 (6.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 70  bytes 6260 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 562  bytes 116365 (113.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 455  bytes 54264 (52.9 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 70  bytes 6260 (6.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 70  bytes 6260 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 720  bytes 147416 (143.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 615  bytes 74256 (72.5 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 70  bytes 6260 (6.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 70  bytes 6260 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58aff90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58aff90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58aff90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 919  bytes 206101 (201.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 688  bytes 83808 (81.8 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 70  bytes 6260 (6.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 70  bytes 6260 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb588bf90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588bf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588bf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 972  bytes 220139 (214.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 750  bytes 92084 (89.9 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 70  bytes 6260 (6.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 70  bytes 6260 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5824fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5824fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5824fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 1026  bytes 234246 (228.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 809  bytes 100212 (97.8 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 70  bytes 6260 (6.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 70  bytes 6260 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58a5ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a5ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a5ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 1090  bytes 249553 (243.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 873  bytes 108737 (106.1 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 70  bytes 6260 (6.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 70  bytes 6260 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58d0fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58d0fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58d0fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 1143  bytes 264400 (258.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 926  bytes 116294 (113.5 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 70  bytes 6260 (6.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 70  bytes 6260 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb589a130>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589a130>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589a130>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 1220  bytes 282403 (275.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 994  bytes 125200 (122.2 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 70  bytes 6260 (6.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 70  bytes 6260 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58c2fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c2fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c2fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 1265  bytes 295466 (288.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1053  bytes 133267 (130.1 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 70  bytes 6260 (6.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 70  bytes 6260 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57d6f50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d6f50>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d6f50>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 1327  bytes 311812 (304.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1106  bytes 140843 (137.5 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 70  bytes 6260 (6.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 70  bytes 6260 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5859ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5859ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5859ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 1382  bytes 326241 (318.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1177  bytes 150042 (146.5 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 70  bytes 6260 (6.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 70  bytes 6260 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57f3ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f3ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f3ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 1445  bytes 343738 (335.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1256  bytes 161680 (157.8 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 75  bytes 6536 (6.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 75  bytes 6536 (6.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58b25d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b25d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b25d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 1508  bytes 358511 (350.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1321  bytes 170271 (166.2 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 75  bytes 6536 (6.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 75  bytes 6536 (6.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58aa170>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58aa170>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58aa170>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 1549  bytes 371364 (362.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1376  bytes 177988 (173.8 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 75  bytes 6536 (6.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 75  bytes 6536 (6.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57f5fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f5fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f5fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 1598  bytes 385212 (376.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1446  bytes 186928 (182.5 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 75  bytes 6536 (6.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 75  bytes 6536 (6.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57d6e70>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d6e70>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d6e70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 1641  bytes 398525 (389.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1503  bytes 194964 (190.3 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 75  bytes 6536 (6.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 75  bytes 6536 (6.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57f7ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f7ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f7ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 1686  bytes 411741 (402.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1563  bytes 203077 (198.3 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 75  bytes 6536 (6.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 75  bytes 6536 (6.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb580afb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb580afb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb580afb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 1737  bytes 425683 (415.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1619  bytes 210908 (205.9 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 75  bytes 6536 (6.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 75  bytes 6536 (6.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57f64f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f64f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f64f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 1793  bytes 440883 (430.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1676  bytes 218763 (213.6 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 75  bytes 6536 (6.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 75  bytes 6536 (6.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57fcfb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fcfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fcfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 1841  bytes 454619 (443.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1741  bytes 227388 (222.0 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 75  bytes 6536 (6.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 75  bytes 6536 (6.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5879ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5879ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5879ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 1886  bytes 467892 (456.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1799  bytes 235604 (230.0 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 75  bytes 6536 (6.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 75  bytes 6536 (6.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57eafd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57eafd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57eafd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 1955  bytes 485698 (474.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1887  bytes 247958 (242.1 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 80  bytes 6812 (6.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 80  bytes 6812 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57feff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57feff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57feff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 2004  bytes 499207 (487.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1940  bytes 255514 (249.5 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 80  bytes 6812 (6.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 80  bytes 6812 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5801fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5801fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5801fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 2046  bytes 512221 (500.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2001  bytes 263709 (257.5 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 80  bytes 6812 (6.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 80  bytes 6812 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58abfd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58abfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58abfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 2092  bytes 525483 (513.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2058  bytes 271738 (265.3 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 80  bytes 6812 (6.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 80  bytes 6812 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb588ffb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588ffb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588ffb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 2144  bytes 539569 (526.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2125  bytes 280545 (273.9 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 80  bytes 6812 (6.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 80  bytes 6812 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb588cfd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588cfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588cfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 2194  bytes 553094 (540.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2180  bytes 288238 (281.4 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 80  bytes 6812 (6.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 80  bytes 6812 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5874fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5874fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5874fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 2241  bytes 566830 (553.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2240  bytes 296499 (289.5 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 80  bytes 6812 (6.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 80  bytes 6812 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5874fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5874fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5874fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 2294  bytes 580543 (566.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2297  bytes 304391 (297.2 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 80  bytes 6812 (6.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 80  bytes 6812 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57dbff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57dbff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57dbff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 2344  bytes 594699 (580.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2352  bytes 312178 (304.8 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 80  bytes 6812 (6.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 80  bytes 6812 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb589d4f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589d4f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589d4f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 2390  bytes 608254 (593.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2410  bytes 320179 (312.6 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 80  bytes 6812 (6.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 80  bytes 6812 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb583df50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583df50>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583df50>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 2444  bytes 622582 (607.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2479  bytes 329252 (321.5 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 85  bytes 7112 (6.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 85  bytes 7112 (6.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5846ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5846ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5846ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 2500  bytes 636644 (621.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2538  bytes 337283 (329.3 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 87  bytes 7232 (7.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 87  bytes 7232 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb585afb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585afb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585afb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 2572  bytes 655153 (639.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2623  bytes 349485 (341.2 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 87  bytes 7232 (7.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 87  bytes 7232 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5887fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5887fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5887fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 2621  bytes 668630 (652.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2684  bytes 357667 (349.2 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 87  bytes 7232 (7.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 87  bytes 7232 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58794f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58794f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58794f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 2661  bytes 681449 (665.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2741  bytes 365704 (357.1 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 87  bytes 7232 (7.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 87  bytes 7232 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb582bfb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582bfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582bfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 2709  bytes 694816 (678.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2800  bytes 373727 (364.9 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 87  bytes 7232 (7.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 87  bytes 7232 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57fffd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fffd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fffd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 2751  bytes 707723 (691.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2854  bytes 381406 (372.4 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 87  bytes 7232 (7.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 87  bytes 7232 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5841ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5841ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5841ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 2802  bytes 721417 (704.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2916  bytes 389807 (380.6 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 87  bytes 7232 (7.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 87  bytes 7232 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5851170>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5851170>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5851170>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 2846  bytes 734853 (717.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2979  bytes 398275 (388.9 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 87  bytes 7232 (7.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 87  bytes 7232 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb584d190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584d190>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584d190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 2900  bytes 748737 (731.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3038  bytes 406517 (396.9 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 87  bytes 7232 (7.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 87  bytes 7232 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb585ff30>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585ff30>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585ff30>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 2950  bytes 762863 (744.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3101  bytes 414908 (405.1 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 87  bytes 7232 (7.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 87  bytes 7232 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58caf90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58caf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58caf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 2995  bytes 775991 (757.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3153  bytes 422438 (412.5 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 87  bytes 7232 (7.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 87  bytes 7232 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5833fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5833fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5833fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 3067  bytes 797809 (779.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3219  bytes 431150 (421.0 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 91  bytes 7472 (7.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 91  bytes 7472 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5817fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5817fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5817fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 3108  bytes 811471 (792.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3270  bytes 438574 (428.2 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 94  bytes 7652 (7.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 94  bytes 7652 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb581ff90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581ff90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581ff90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 3155  bytes 826031 (806.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3334  bytes 447167 (436.6 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 94  bytes 7652 (7.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 94  bytes 7652 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5820f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5820f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5820f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 3220  bytes 843404 (823.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3413  bytes 458761 (448.0 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 94  bytes 7652 (7.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 94  bytes 7652 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57ebf90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57ebf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57ebf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 3277  bytes 857943 (837.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3480  bytes 467548 (456.5 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 94  bytes 7652 (7.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 94  bytes 7652 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5879ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5879ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5879ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 3325  bytes 871220 (850.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3533  bytes 475108 (463.9 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 94  bytes 7652 (7.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 94  bytes 7652 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58c4210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c4210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c4210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 3367  bytes 884233 (863.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3589  bytes 482993 (471.6 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 94  bytes 7652 (7.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 94  bytes 7652 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57ebfb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57ebfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57ebfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 3426  bytes 899874 (878.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3648  bytes 491304 (479.7 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 94  bytes 7652 (7.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 94  bytes 7652 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5877fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5877fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5877fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 3479  bytes 914427 (892.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3701  bytes 498933 (487.2 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 94  bytes 7652 (7.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 94  bytes 7652 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5883fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5883fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5883fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 3535  bytes 929380 (907.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3766  bytes 507528 (495.6 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 94  bytes 7652 (7.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 94  bytes 7652 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5828ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5828ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5828ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 3573  bytes 942075 (919.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3821  bytes 515457 (503.3 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 94  bytes 7652 (7.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 94  bytes 7652 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58c3fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c3fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c3fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 3626  bytes 955803 (933.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3880  bytes 523507 (511.2 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 94  bytes 7652 (7.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 94  bytes 7652 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5810ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5810ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5810ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 3682  bytes 975103 (952.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3955  bytes 533527 (521.0 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 94  bytes 7652 (7.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 94  bytes 7652 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58a5eb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a5eb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a5eb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 3733  bytes 988801 (965.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4020  bytes 542142 (529.4 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 100  bytes 8012 (7.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 100  bytes 8012 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5865fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5865fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5865fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 3794  bytes 1009096 (985.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4102  bytes 552791 (539.8 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 101  bytes 8072 (7.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 101  bytes 8072 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb584cf70>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584cf70>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584cf70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 3863  bytes 1026959 (1002.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4191  bytes 565265 (552.0 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 101  bytes 8072 (7.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 101  bytes 8072 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57fdff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fdff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fdff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 3904  bytes 1039825 (1015.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4245  bytes 572955 (559.5 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 101  bytes 8072 (7.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 101  bytes 8072 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb588cfb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588cfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588cfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 3962  bytes 1059412 (1.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4324  bytes 583441 (569.7 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 101  bytes 8072 (7.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 101  bytes 8072 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5846ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5846ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5846ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 4017  bytes 1073372 (1.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4388  bytes 591906 (578.0 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 101  bytes 8072 (7.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 101  bytes 8072 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5820110>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5820110>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5820110>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 4074  bytes 1092654 (1.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4462  bytes 601785 (587.6 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 101  bytes 8072 (7.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 101  bytes 8072 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb583fff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583fff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583fff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 4118  bytes 1105769 (1.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4526  bytes 610198 (595.8 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 101  bytes 8072 (7.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 101  bytes 8072 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58c0fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c0fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c0fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 4175  bytes 1124506 (1.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4592  bytes 619228 (604.7 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 101  bytes 8072 (7.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 101  bytes 8072 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb589cf70>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589cf70>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589cf70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 4223  bytes 1138616 (1.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4663  bytes 628571 (613.8 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 101  bytes 8072 (7.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 101  bytes 8072 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5829f50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5829f50>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5829f50>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 4272  bytes 1151889 (1.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4718  bytes 636276 (621.3 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 101  bytes 8072 (7.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 101  bytes 8072 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb589dff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589dff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589dff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 4337  bytes 1172368 (1.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4808  bytes 647542 (632.3 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 101  bytes 8072 (7.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 101  bytes 8072 (7.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5857ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5857ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5857ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 4382  bytes 1185448 (1.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4864  bytes 655322 (639.9 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 107  bytes 8432 (8.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 107  bytes 8432 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5845fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5845fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5845fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 4429  bytes 1199124 (1.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4927  bytes 663838 (648.2 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 108  bytes 8492 (8.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 108  bytes 8492 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58cefd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58cefd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58cefd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 4512  bytes 1223236 (1.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5029  bytes 678044 (662.1 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 108  bytes 8492 (8.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 108  bytes 8492 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb585e2d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585e2d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585e2d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 4556  bytes 1236376 (1.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5081  bytes 685612 (669.5 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 108  bytes 8492 (8.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 108  bytes 8492 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57dcfd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57dcfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57dcfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 4615  bytes 1256066 (1.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5165  bytes 696462 (680.1 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 108  bytes 8492 (8.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 108  bytes 8492 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57edff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57edff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57edff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 4660  bytes 1269108 (1.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5221  bytes 704286 (687.7 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 108  bytes 8492 (8.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 108  bytes 8492 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5886e50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5886e50>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5886e50>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 4704  bytes 1282322 (1.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5286  bytes 712886 (696.1 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 108  bytes 8492 (8.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 108  bytes 8492 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb583a4d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583a4d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583a4d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 4760  bytes 1301583 (1.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5363  bytes 723039 (706.0 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 108  bytes 8492 (8.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 108  bytes 8492 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58ae4d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58ae4d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58ae4d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 4805  bytes 1314770 (1.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5423  bytes 731121 (713.9 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 108  bytes 8492 (8.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 108  bytes 8492 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5897ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5897ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5897ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 4870  bytes 1335082 (1.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5505  bytes 741793 (724.4 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 108  bytes 8492 (8.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 108  bytes 8492 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb582efd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582efd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582efd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 4923  bytes 1348881 (1.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5565  bytes 749874 (732.2 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 108  bytes 8492 (8.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 108  bytes 8492 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5826130>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5826130>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5826130>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 4968  bytes 1362128 (1.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5627  bytes 758278 (740.5 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 108  bytes 8492 (8.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 108  bytes 8492 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb583cff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583cff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583cff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 5023  bytes 1381346 (1.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5700  bytes 768222 (750.2 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 114  bytes 8852 (8.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 114  bytes 8852 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58684d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58684d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58684d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 5071  bytes 1394945 (1.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5763  bytes 776602 (758.4 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 115  bytes 8912 (8.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 115  bytes 8912 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58590f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58590f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58590f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 5144  bytes 1418233 (1.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5858  bytes 790221 (771.7 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 115  bytes 8912 (8.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 115  bytes 8912 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58caf90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58caf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58caf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 5193  bytes 1431817 (1.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5925  bytes 798997 (780.2 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 115  bytes 8912 (8.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 115  bytes 8912 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57f4130>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f4130>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f4130>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 5237  bytes 1444809 (1.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5980  bytes 806599 (787.6 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 115  bytes 8912 (8.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 115  bytes 8912 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5880fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5880fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5880fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 5298  bytes 1464548 (1.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6062  bytes 817144 (797.9 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 115  bytes 8912 (8.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 115  bytes 8912 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5862fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5862fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5862fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 5346  bytes 1477922 (1.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6123  bytes 825426 (806.0 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 115  bytes 8912 (8.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 115  bytes 8912 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5802e90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5802e90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5802e90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 5411  bytes 1498327 (1.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6213  bytes 836644 (817.0 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 115  bytes 8912 (8.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 115  bytes 8912 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5834190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5834190>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5834190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 5460  bytes 1511648 (1.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6269  bytes 844360 (824.5 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 115  bytes 8912 (8.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 115  bytes 8912 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5808ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5808ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5808ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 5508  bytes 1525066 (1.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6326  bytes 852292 (832.3 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 115  bytes 8912 (8.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 115  bytes 8912 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5853fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5853fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5853fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 5562  bytes 1544213 (1.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6406  bytes 862690 (842.4 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 115  bytes 8912 (8.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 115  bytes 8912 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb584aff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584aff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584aff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 5610  bytes 1557688 (1.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6462  bytes 870646 (850.2 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 115  bytes 8912 (8.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 115  bytes 8912 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5855fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5855fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5855fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 5673  bytes 1577539 (1.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6546  bytes 881304 (860.6 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 120  bytes 9212 (8.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 120  bytes 9212 (8.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57f1ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f1ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f1ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 5718  bytes 1590842 (1.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6605  bytes 889346 (868.5 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 122  bytes 9332 (9.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 122  bytes 9332 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58aefd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58aefd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58aefd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 5779  bytes 1608063 (1.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6690  bytes 901375 (880.2 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 122  bytes 9332 (9.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 122  bytes 9332 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb581dfd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581dfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581dfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 5832  bytes 1627133 (1.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6765  bytes 911400 (890.0 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 122  bytes 9332 (9.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 122  bytes 9332 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57e1fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e1fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e1fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 5893  bytes 1641463 (1.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6828  bytes 919691 (898.1 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 122  bytes 9332 (9.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 122  bytes 9332 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5859110>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5859110>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5859110>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 5955  bytes 1661689 (1.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6915  bytes 930861 (909.0 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 122  bytes 9332 (9.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 122  bytes 9332 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57f8fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f8fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f8fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 6031  bytes 1681791 (1.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6986  bytes 940047 (918.0 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 122  bytes 9332 (9.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 122  bytes 9332 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb589dff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589dff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589dff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 6112  bytes 1705576 (1.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7064  bytes 950245 (927.9 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 122  bytes 9332 (9.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 122  bytes 9332 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5822f70>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5822f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5822f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 6161  bytes 1720212 (1.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7124  bytes 958442 (935.9 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 122  bytes 9332 (9.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 122  bytes 9332 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5861ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5861ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5861ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 6219  bytes 1739660 (1.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7202  bytes 968723 (946.0 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 122  bytes 9332 (9.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 122  bytes 9332 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb589bf90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589bf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589bf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 6263  bytes 1752791 (1.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7262  bytes 977017 (954.1 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 122  bytes 9332 (9.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 122  bytes 9332 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb587ffb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587ffb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587ffb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 6307  bytes 1765950 (1.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7322  bytes 985173 (962.0 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 122  bytes 9332 (9.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 122  bytes 9332 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57fd4d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fd4d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fd4d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 6370  bytes 1786803 (1.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7399  bytes 995236 (971.9 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 126  bytes 9572 (9.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 126  bytes 9572 (9.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57fbff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fbff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fbff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 6417  bytes 1800288 (1.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7465  bytes 1003963 (980.4 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 129  bytes 9752 (9.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 129  bytes 9752 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb582bff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582bff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582bff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 6471  bytes 1819367 (1.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7538  bytes 1013760 (990.0 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 129  bytes 9752 (9.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 129  bytes 9752 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57d5fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d5fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d5fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 6547  bytes 1838158 (1.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7638  bytes 1027231 (1003.1 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 129  bytes 9752 (9.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 129  bytes 9752 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb588efd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588efd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588efd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 6595  bytes 1851401 (1.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7691  bytes 1034801 (1010.5 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 129  bytes 9752 (9.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 129  bytes 9752 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58b0390>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b0390>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b0390>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 6659  bytes 1871511 (1.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7772  bytes 1045309 (1020.8 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 129  bytes 9752 (9.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 129  bytes 9752 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58d0210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58d0210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58d0210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 6702  bytes 1884595 (1.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7832  bytes 1053618 (1.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 129  bytes 9752 (9.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 129  bytes 9752 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5898210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5898210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5898210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 6769  bytes 1905835 (1.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7907  bytes 1063692 (1.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 129  bytes 9752 (9.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 129  bytes 9752 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58abfd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58abfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58abfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 6813  bytes 1918935 (1.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7967  bytes 1071814 (1.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 129  bytes 9752 (9.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 129  bytes 9752 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5893fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5893fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5893fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 6862  bytes 1932430 (1.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8025  bytes 1079946 (1.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 129  bytes 9752 (9.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 129  bytes 9752 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58cf150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58cf150>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58cf150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 6924  bytes 1952147 (1.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8105  bytes 1090292 (1.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 129  bytes 9752 (9.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 129  bytes 9752 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57f8fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f8fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f8fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 6971  bytes 1965479 (1.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8163  bytes 1098392 (1.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 129  bytes 9752 (9.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 129  bytes 9752 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57d5f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d5f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d5f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 7034  bytes 1985333 (1.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8245  bytes 1108914 (1.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 129  bytes 9752 (9.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 129  bytes 9752 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58adfd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58adfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58adfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 7087  bytes 2000558 (1.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8310  bytes 1117546 (1.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 135  bytes 10112 (9.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 135  bytes 10112 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb580ffb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb580ffb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb580ffb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 7134  bytes 2013891 (1.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8368  bytes 1125531 (1.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 136  bytes 10172 (9.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 136  bytes 10172 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb583efd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583efd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583efd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 7217  bytes 2038150 (1.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8475  bytes 1140201 (1.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 136  bytes 10172 (9.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 136  bytes 10172 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57e4fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e4fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e4fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 7268  bytes 2051867 (1.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8539  bytes 1148662 (1.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 136  bytes 10172 (9.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 136  bytes 10172 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57ebff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57ebff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57ebff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 7333  bytes 2072246 (1.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8616  bytes 1158859 (1.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 136  bytes 10172 (9.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 136  bytes 10172 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58b7fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b7fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b7fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 7425  bytes 2099269 (2.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8675  bytes 1167072 (1.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 136  bytes 10172 (9.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 136  bytes 10172 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5894f50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5894f50>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5894f50>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 7476  bytes 2112946 (2.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8735  bytes 1175229 (1.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 136  bytes 10172 (9.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 136  bytes 10172 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5885fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5885fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5885fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 7536  bytes 2132475 (2.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8809  bytes 1185140 (1.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 136  bytes 10172 (9.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 136  bytes 10172 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5832270>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5832270>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5832270>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 7580  bytes 2145681 (2.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8875  bytes 1193869 (1.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 136  bytes 10172 (9.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 136  bytes 10172 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5808f70>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5808f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5808f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 7638  bytes 2165003 (2.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8947  bytes 1203640 (1.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 136  bytes 10172 (9.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 136  bytes 10172 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb581afb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581afb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581afb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 7695  bytes 2179543 (2.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9016  bytes 1212584 (1.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 136  bytes 10172 (9.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 136  bytes 10172 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5889170>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5889170>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5889170>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 7747  bytes 2193182 (2.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9074  bytes 1220567 (1.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 136  bytes 10172 (9.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 136  bytes 10172 (9.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5805ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5805ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5805ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 7813  bytes 2213439 (2.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9160  bytes 1231488 (1.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 142  bytes 10532 (10.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 142  bytes 10532 (10.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5863fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5863fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5863fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 7866  bytes 2227261 (2.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9226  bytes 1240246 (1.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 143  bytes 10592 (10.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 143  bytes 10592 (10.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5870fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5870fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5870fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 7949  bytes 2251477 (2.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9326  bytes 1254155 (1.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 143  bytes 10592 (10.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 143  bytes 10592 (10.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5878ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5878ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5878ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 7993  bytes 2264579 (2.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9388  bytes 1262429 (1.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 143  bytes 10592 (10.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 143  bytes 10592 (10.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb582cad0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582cad0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582cad0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 8034  bytes 2277484 (2.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9444  bytes 1270285 (1.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 143  bytes 10592 (10.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 143  bytes 10592 (10.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb588dff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588dff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588dff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 8103  bytes 2298195 (2.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9531  bytes 1281213 (1.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 143  bytes 10592 (10.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 143  bytes 10592 (10.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5826fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5826fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5826fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 8143  bytes 2310970 (2.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9584  bytes 1288794 (1.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 143  bytes 10592 (10.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 143  bytes 10592 (10.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5838f70>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5838f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5838f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 8205  bytes 2330888 (2.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9668  bytes 1299644 (1.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 143  bytes 10592 (10.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 143  bytes 10592 (10.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5891f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5891f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5891f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 8260  bytes 2345092 (2.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9733  bytes 1308278 (1.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 143  bytes 10592 (10.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 143  bytes 10592 (10.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb587c150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587c150>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587c150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 8316  bytes 2359131 (2.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9795  bytes 1316696 (1.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 143  bytes 10592 (10.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 143  bytes 10592 (10.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb586e110>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586e110>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586e110>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 8374  bytes 2378658 (2.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9872  bytes 1326861 (1.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 143  bytes 10592 (10.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 143  bytes 10592 (10.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5885fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5885fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5885fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 8423  bytes 2392180 (2.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9929  bytes 1334891 (1.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 143  bytes 10592 (10.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 143  bytes 10592 (10.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57e0fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e0fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e0fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 8483  bytes 2411750 (2.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10007  bytes 1345131 (1.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 149  bytes 10952 (10.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 149  bytes 10952 (10.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb583b130>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583b130>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583b130>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 8525  bytes 2424570 (2.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10059  bytes 1352659 (1.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 150  bytes 11012 (10.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 150  bytes 11012 (10.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb66303b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb66303b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb66303b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 8588  bytes 2442014 (2.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10147  bytes 1365189 (1.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 150  bytes 11012 (10.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 150  bytes 11012 (10.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57e1fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e1fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e1fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 8646  bytes 2461396 (2.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10220  bytes 1375035 (1.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 150  bytes 11012 (10.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 150  bytes 11012 (10.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5863ad0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5863ad0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5863ad0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 8693  bytes 2474832 (2.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10285  bytes 1383698 (1.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 150  bytes 11012 (10.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 150  bytes 11012 (10.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5892fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5892fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5892fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 8759  bytes 2495001 (2.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10360  bytes 1393648 (1.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 150  bytes 11012 (10.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 150  bytes 11012 (10.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5811f70>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5811f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5811f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 8811  bytes 2509167 (2.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10430  bytes 1402678 (1.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 150  bytes 11012 (10.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 150  bytes 11012 (10.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5894390>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5894390>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5894390>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 8857  bytes 2522467 (2.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10490  bytes 1410897 (1.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 150  bytes 11012 (10.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 150  bytes 11012 (10.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5809fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5809fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5809fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 8917  bytes 2542274 (2.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10570  bytes 1421279 (1.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 150  bytes 11012 (10.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 150  bytes 11012 (10.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57f7f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f7f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f7f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 8965  bytes 2555597 (2.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10628  bytes 1429348 (1.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 150  bytes 11012 (10.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 150  bytes 11012 (10.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5879fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5879fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5879fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 9021  bytes 2575014 (2.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10710  bytes 1440008 (1.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 150  bytes 11012 (10.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 150  bytes 11012 (10.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5855fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5855fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5855fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 9069  bytes 2588399 (2.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10770  bytes 1448110 (1.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 150  bytes 11012 (10.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 150  bytes 11012 (10.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57e5fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e5fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e5fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 9121  bytes 2604525 (2.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10825  bytes 1455856 (1.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 155  bytes 11312 (11.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 155  bytes 11312 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58cee90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58cee90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58cee90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 9187  bytes 2624631 (2.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10913  bytes 1466873 (1.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 157  bytes 11432 (11.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 157  bytes 11432 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb589ced0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589ced0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589ced0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 9247  bytes 2641614 (2.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10994  bytes 1478616 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 157  bytes 11432 (11.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 157  bytes 11432 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58b1fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b1fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b1fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 9313  bytes 2661811 (2.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11077  bytes 1489384 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 157  bytes 11432 (11.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 157  bytes 11432 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57fdfb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fdfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fdfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 9365  bytes 2675839 (2.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11142  bytes 1497989 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 157  bytes 11432 (11.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 157  bytes 11432 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58ccfb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58ccfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58ccfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 9416  bytes 2689696 (2.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11201  bytes 1506041 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 157  bytes 11432 (11.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 157  bytes 11432 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5806130>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5806130>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5806130>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 9489  bytes 2710789 (2.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11279  bytes 1516273 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 157  bytes 11432 (11.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 157  bytes 11432 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb581efd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581efd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581efd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 9541  bytes 2724633 (2.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11342  bytes 1524882 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 157  bytes 11432 (11.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 157  bytes 11432 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5890fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5890fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5890fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 9610  bytes 2746429 (2.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11424  bytes 1535578 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 157  bytes 11432 (11.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 157  bytes 11432 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58cbff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58cbff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58cbff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 9658  bytes 2759971 (2.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11477  bytes 1543148 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 157  bytes 11432 (11.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 157  bytes 11432 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58501f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58501f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58501f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 9705  bytes 2773733 (2.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11543  bytes 1551910 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 157  bytes 11432 (11.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 157  bytes 11432 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5859ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5859ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5859ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 9768  bytes 2793445 (2.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11617  bytes 1561817 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 157  bytes 11432 (11.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 157  bytes 11432 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb580df70>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb580df70>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb580df70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 9812  bytes 2806695 (2.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11679  bytes 1570198 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 161  bytes 11672 (11.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 161  bytes 11672 (11.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5827150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5827150>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5827150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 9869  bytes 2825998 (2.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11757  bytes 1580430 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 164  bytes 11852 (11.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 164  bytes 11852 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb581cfb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581cfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581cfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 9922  bytes 2840374 (2.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11824  bytes 1589202 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 164  bytes 11852 (11.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 164  bytes 11852 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58b2fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b2fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b2fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 9992  bytes 2858092 (2.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11899  bytes 1600561 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 164  bytes 11852 (11.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 164  bytes 11852 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb583cff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583cff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583cff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 10057  bytes 2878351 (2.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11981  bytes 1611178 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 164  bytes 11852 (11.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 164  bytes 11852 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5818fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5818fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5818fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 10105  bytes 2892678 (2.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12043  bytes 1619600 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 164  bytes 11852 (11.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 164  bytes 11852 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb580aff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb580aff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb580aff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 10182  bytes 2914462 (2.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12119  bytes 1629718 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 164  bytes 11852 (11.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 164  bytes 11852 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5878fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5878fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5878fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 10228  bytes 2927603 (2.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12178  bytes 1637740 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 164  bytes 11852 (11.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 164  bytes 11852 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58a4f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a4f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a4f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 10275  bytes 2940953 (2.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12237  bytes 1645941 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 164  bytes 11852 (11.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 164  bytes 11852 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5830fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5830fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5830fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 10332  bytes 2960318 (2.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12316  bytes 1656220 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 164  bytes 11852 (11.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 164  bytes 11852 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5879150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5879150>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5879150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 10380  bytes 2973614 (2.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12369  bytes 1663866 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 164  bytes 11852 (11.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 164  bytes 11852 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb580cff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb580cff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb580cff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 10440  bytes 2993375 (2.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12454  bytes 1674765 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 164  bytes 11852 (11.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 164  bytes 11852 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58c6ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c6ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c6ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 10491  bytes 3007654 (2.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12518  bytes 1683328 (1.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 164  bytes 11852 (11.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 164  bytes 11852 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5827ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5827ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5827ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 10535  bytes 3020752 (2.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12577  bytes 1691359 (1.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 170  bytes 12212 (11.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 170  bytes 12212 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57e9ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e9ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e9ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 10593  bytes 3040254 (2.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12652  bytes 1701372 (1.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 171  bytes 12272 (11.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 171  bytes 12272 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5863ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5863ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5863ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 10662  bytes 3058368 (2.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12738  bytes 1713596 (1.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 171  bytes 12272 (11.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 171  bytes 12272 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57e5f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e5f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e5f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 10738  bytes 3080824 (2.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12820  bytes 1724323 (1.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 171  bytes 12272 (11.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 171  bytes 12272 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5882350>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5882350>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5882350>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 10792  bytes 3094472 (2.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12874  bytes 1731962 (1.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 171  bytes 12272 (11.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 171  bytes 12272 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58ca4d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58ca4d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58ca4d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 10838  bytes 3107982 (2.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12936  bytes 1740315 (1.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 171  bytes 12272 (11.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 171  bytes 12272 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58c4fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c4fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c4fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 10897  bytes 3127573 (2.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13016  bytes 1750829 (1.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 171  bytes 12272 (11.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 171  bytes 12272 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58aafb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58aafb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58aafb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 10940  bytes 3140628 (2.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13077  bytes 1759060 (1.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 171  bytes 12272 (11.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 171  bytes 12272 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5842ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5842ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5842ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 11004  bytes 3160461 (3.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13151  bytes 1768963 (1.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 171  bytes 12272 (11.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 171  bytes 12272 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58b7190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b7190>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b7190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 11061  bytes 3175273 (3.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13224  bytes 1778338 (1.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 171  bytes 12272 (11.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 171  bytes 12272 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb582cf70>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582cf70>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582cf70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 11105  bytes 3188237 (3.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13276  bytes 1785866 (1.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 171  bytes 12272 (11.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 171  bytes 12272 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58a2150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a2150>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a2150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 11168  bytes 3208250 (3.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13357  bytes 1796362 (1.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 171  bytes 12272 (11.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 171  bytes 12272 (11.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58a8fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a8fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a8fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 11252  bytes 3233645 (3.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13414  bytes 1804357 (1.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 177  bytes 12632 (12.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 177  bytes 12632 (12.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb583bed0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583bed0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583bed0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 11362  bytes 3259786 (3.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13498  bytes 1815258 (1.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 178  bytes 12692 (12.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 178  bytes 12692 (12.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5863ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5863ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5863ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 11425  bytes 3277949 (3.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13581  bytes 1827129 (1.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 178  bytes 12692 (12.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 178  bytes 12692 (12.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5801fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5801fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5801fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 11486  bytes 3292934 (3.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13642  bytes 1835455 (1.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 178  bytes 12692 (12.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 178  bytes 12692 (12.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5820fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5820fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5820fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 11547  bytes 3312644 (3.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13724  bytes 1846004 (1.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 178  bytes 12692 (12.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 178  bytes 12692 (12.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5832ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5832ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5832ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 11611  bytes 3327511 (3.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13780  bytes 1853975 (1.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 178  bytes 12692 (12.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 178  bytes 12692 (12.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5871310>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5871310>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5871310>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 11668  bytes 3346976 (3.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13858  bytes 1864205 (1.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 178  bytes 12692 (12.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 178  bytes 12692 (12.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57edff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57edff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57edff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 11722  bytes 3361134 (3.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13922  bytes 1872788 (1.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 178  bytes 12692 (12.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 178  bytes 12692 (12.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5839f70>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5839f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5839f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 11772  bytes 3374569 (3.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13980  bytes 1880733 (1.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 178  bytes 12692 (12.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 178  bytes 12692 (12.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57e7f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e7f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e7f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 11841  bytes 3395246 (3.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14061  bytes 1891295 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 178  bytes 12692 (12.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 178  bytes 12692 (12.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb586ffb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586ffb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586ffb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 11888  bytes 3408737 (3.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14125  bytes 1899978 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 178  bytes 12692 (12.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 178  bytes 12692 (12.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58a0fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a0fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a0fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 11945  bytes 3428106 (3.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14200  bytes 1910035 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 178  bytes 12692 (12.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 178  bytes 12692 (12.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb581af70>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581af70>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581af70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 11990  bytes 3441132 (3.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14254  bytes 1917651 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 184  bytes 13052 (12.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 184  bytes 13052 (12.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5849490>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5849490>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5849490>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 12039  bytes 3454803 (3.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14322  bytes 1926525 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 185  bytes 13112 (12.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 185  bytes 13112 (12.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb584bfb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584bfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584bfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 12114  bytes 3478222 (3.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14419  bytes 1940188 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 185  bytes 13112 (12.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 185  bytes 13112 (12.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58641f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58641f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58641f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 12163  bytes 3491968 (3.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14482  bytes 1948532 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 185  bytes 13112 (12.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 185  bytes 13112 (12.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58cafb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58cafb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58cafb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 12221  bytes 3511476 (3.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14559  bytes 1958841 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 185  bytes 13112 (12.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 185  bytes 13112 (12.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb580a030>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb580a030>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb580a030>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 12274  bytes 3525709 (3.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14628  bytes 1967785 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 185  bytes 13112 (12.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 185  bytes 13112 (12.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58b0fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b0fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b0fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 12320  bytes 3538927 (3.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14682  bytes 1975425 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 185  bytes 13112 (12.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 185  bytes 13112 (12.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58c2fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c2fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c2fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 12384  bytes 3558979 (3.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14762  bytes 1985834 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 185  bytes 13112 (12.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 185  bytes 13112 (12.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57e5fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e5fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e5fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 12426  bytes 3571937 (3.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14820  bytes 1993836 (1.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 185  bytes 13112 (12.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 185  bytes 13112 (12.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58321f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58321f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58321f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 12482  bytes 3591415 (3.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14903  bytes 2004632 (1.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 185  bytes 13112 (12.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 185  bytes 13112 (12.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb582fff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582fff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582fff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 12533  bytes 3604929 (3.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14962  bytes 2012653 (1.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 185  bytes 13112 (12.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 185  bytes 13112 (12.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5875fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5875fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5875fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 12582  bytes 3618915 (3.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15014  bytes 2020237 (1.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 185  bytes 13112 (12.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 185  bytes 13112 (12.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57f52f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f52f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f52f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 12640  bytes 3638405 (3.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15097  bytes 2030785 (1.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 190  bytes 13412 (13.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 190  bytes 13412 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb580efb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb580efb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb580efb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 12683  bytes 3651454 (3.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15150  bytes 2038451 (1.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 192  bytes 13532 (13.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 192  bytes 13532 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5873f70>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5873f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5873f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 12763  bytes 3675380 (3.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15259  bytes 2053167 (1.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 192  bytes 13532 (13.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 192  bytes 13532 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57fefb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fefb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fefb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 12817  bytes 3689762 (3.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15323  bytes 2061751 (1.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 192  bytes 13532 (13.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 192  bytes 13532 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5823f70>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5823f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5823f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 12863  bytes 3702991 (3.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15381  bytes 2069697 (1.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 192  bytes 13532 (13.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 192  bytes 13532 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5852fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5852fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5852fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 12937  bytes 3724239 (3.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15464  bytes 2080451 (1.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 192  bytes 13532 (13.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 192  bytes 13532 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58c4fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c4fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c4fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 12984  bytes 3737560 (3.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15525  bytes 2088747 (1.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 192  bytes 13532 (13.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 192  bytes 13532 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57ee4d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57ee4d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57ee4d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 13043  bytes 3757072 (3.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15603  bytes 2098982 (2.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 192  bytes 13532 (13.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 192  bytes 13532 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5849130>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5849130>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5849130>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 13087  bytes 3770065 (3.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15655  bytes 2106508 (2.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 192  bytes 13532 (13.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 192  bytes 13532 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb584ffd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584ffd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584ffd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 13131  bytes 3783223 (3.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15717  bytes 2114798 (2.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 192  bytes 13532 (13.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 192  bytes 13532 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57d74f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d74f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d74f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 13188  bytes 3802597 (3.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15795  bytes 2125138 (2.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 192  bytes 13532 (13.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 192  bytes 13532 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57e0ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e0ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e0ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 13260  bytes 3820052 (3.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15857  bytes 2133436 (2.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 192  bytes 13532 (13.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 192  bytes 13532 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58c3fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c3fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c3fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 13343  bytes 3843106 (3.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15934  bytes 2143726 (2.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 196  bytes 13772 (13.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 196  bytes 13772 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5863ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5863ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5863ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 13397  bytes 3857352 (3.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16004  bytes 2152724 (2.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 199  bytes 13952 (13.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 199  bytes 13952 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58b8370>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b8370>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b8370>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 13451  bytes 3872197 (3.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16057  bytes 2160305 (2.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 199  bytes 13952 (13.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 199  bytes 13952 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57daf10>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57daf10>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57daf10>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 13533  bytes 3896430 (3.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16161  bytes 2174632 (2.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 199  bytes 13952 (13.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 199  bytes 13952 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58f02b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58f02b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58f02b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 13581  bytes 3909810 (3.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16220  bytes 2182736 (2.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 199  bytes 13952 (13.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 199  bytes 13952 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb587bfb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587bfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587bfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 13646  bytes 3929826 (3.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16303  bytes 2193328 (2.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 199  bytes 13952 (13.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 199  bytes 13952 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb588dfb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588dfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588dfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 13696  bytes 3943697 (3.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16365  bytes 2201736 (2.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 199  bytes 13952 (13.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 199  bytes 13952 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb586cff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586cff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586cff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 13737  bytes 3956444 (3.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16416  bytes 2209190 (2.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 199  bytes 13952 (13.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 199  bytes 13952 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5860ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5860ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5860ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 13795  bytes 3975945 (3.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16498  bytes 2219668 (2.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 199  bytes 13952 (13.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 199  bytes 13952 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58a2fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a2fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a2fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 13848  bytes 3989793 (3.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16559  bytes 2228018 (2.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 199  bytes 13952 (13.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 199  bytes 13952 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5863fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5863fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5863fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 13910  bytes 4009535 (3.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16641  bytes 2238488 (2.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 199  bytes 13952 (13.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 199  bytes 13952 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5866fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5866fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5866fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 13964  bytes 4023862 (3.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16711  bytes 2247631 (2.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 199  bytes 13952 (13.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 199  bytes 13952 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5811fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5811fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5811fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 14014  bytes 4037659 (3.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16773  bytes 2255844 (2.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 199  bytes 13952 (13.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 199  bytes 13952 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5861f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5861f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5861f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 14071  bytes 4057098 (3.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16848  bytes 2265837 (2.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 205  bytes 14312 (13.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 205  bytes 14312 (13.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb581fff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581fff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581fff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 14150  bytes 4075275 (3.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16916  bytes 2274952 (2.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 206  bytes 14372 (14.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 206  bytes 14372 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb589faf0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589faf0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589faf0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 14231  bytes 4100172 (3.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17018  bytes 2289083 (2.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 206  bytes 14372 (14.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 206  bytes 14372 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5843150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5843150>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5843150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 14310  bytes 4123256 (3.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17081  bytes 2297361 (2.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 206  bytes 14372 (14.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 206  bytes 14372 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5830ad0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5830ad0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5830ad0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 14379  bytes 4141809 (3.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17139  bytes 2305419 (2.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 206  bytes 14372 (14.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 206  bytes 14372 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5827f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5827f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5827f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 14439  bytes 4161299 (3.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17215  bytes 2315549 (2.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 206  bytes 14372 (14.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 206  bytes 14372 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58b6ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b6ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b6ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 14480  bytes 4174224 (3.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17276  bytes 2323740 (2.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 206  bytes 14372 (14.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 206  bytes 14372 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb581efb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581efb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581efb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 14543  bytes 4194030 (3.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17355  bytes 2334157 (2.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 206  bytes 14372 (14.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 206  bytes 14372 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57ecfd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57ecfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57ecfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 14601  bytes 4208574 (4.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17425  bytes 2343195 (2.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 206  bytes 14372 (14.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 206  bytes 14372 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5888fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5888fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5888fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 14648  bytes 4221758 (4.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17478  bytes 2350757 (2.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 206  bytes 14372 (14.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 206  bytes 14372 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58b5fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b5fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b5fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 14717  bytes 4242271 (4.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17563  bytes 2361665 (2.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 206  bytes 14372 (14.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 206  bytes 14372 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5819ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5819ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5819ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 14768  bytes 4256061 (4.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17621  bytes 2369726 (2.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 206  bytes 14372 (14.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 206  bytes 14372 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58b4fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b4fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b4fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 14830  bytes 4275912 (4.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17702  bytes 2380186 (2.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 212  bytes 14732 (14.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 212  bytes 14732 (14.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5823510>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5823510>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5823510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 14873  bytes 4288954 (4.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17766  bytes 2388714 (2.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 213  bytes 14792 (14.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 213  bytes 14792 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5863150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5863150>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5863150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 14934  bytes 4306068 (4.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17841  bytes 2400044 (2.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 213  bytes 14792 (14.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 213  bytes 14792 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5844fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5844fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5844fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 14989  bytes 4325308 (4.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17919  bytes 2410261 (2.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 213  bytes 14792 (14.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 213  bytes 14792 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5862f50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5862f50>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5862f50>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 15031  bytes 4338349 (4.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17976  bytes 2418318 (2.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 213  bytes 14792 (14.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 213  bytes 14792 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57f2fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f2fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f2fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 15096  bytes 4358536 (4.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18062  bytes 2429283 (2.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 213  bytes 14792 (14.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 213  bytes 14792 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58ac330>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58ac330>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58ac330>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 15147  bytes 4372476 (4.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18124  bytes 2437715 (2.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 213  bytes 14792 (14.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 213  bytes 14792 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb584e250>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584e250>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584e250>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 15197  bytes 4385958 (4.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18183  bytes 2445747 (2.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 213  bytes 14792 (14.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 213  bytes 14792 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5853ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5853ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5853ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 15255  bytes 4405485 (4.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18259  bytes 2455850 (2.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 213  bytes 14792 (14.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 213  bytes 14792 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb586eef0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586eef0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586eef0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 15308  bytes 4419491 (4.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18326  bytes 2464719 (2.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 213  bytes 14792 (14.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 213  bytes 14792 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58bd110>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58bd110>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58bd110>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 15368  bytes 4439061 (4.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18403  bytes 2474881 (2.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 213  bytes 14792 (14.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 213  bytes 14792 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5827f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5827f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5827f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 15425  bytes 4453407 (4.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18466  bytes 2483364 (2.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 213  bytes 14792 (14.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 213  bytes 14792 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb582f150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582f150>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582f150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 15467  bytes 4466281 (4.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18523  bytes 2491278 (2.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 218  bytes 15092 (14.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 218  bytes 15092 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58d4fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58d4fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58d4fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 15527  bytes 4485933 (4.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18599  bytes 2501374 (2.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 220  bytes 15212 (14.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 220  bytes 15212 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58a0fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a0fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a0fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 15636  bytes 4511520 (4.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18694  bytes 2514561 (2.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 220  bytes 15212 (14.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 220  bytes 15212 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb588bfd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588bfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588bfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 15733  bytes 4544647 (4.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18769  bytes 2524530 (2.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 220  bytes 15212 (14.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 220  bytes 15212 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb588dfb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588dfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588dfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 15791  bytes 4559374 (4.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18844  bytes 2534066 (2.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 220  bytes 15212 (14.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 220  bytes 15212 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5832eb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5832eb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5832eb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 15846  bytes 4574102 (4.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18897  bytes 2541672 (2.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 220  bytes 15212 (14.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 220  bytes 15212 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58acff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58acff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58acff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 15922  bytes 4595303 (4.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18987  bytes 2552930 (2.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 220  bytes 15212 (14.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 220  bytes 15212 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57ddfb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57ddfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57ddfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 15999  bytes 4612204 (4.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19048  bytes 2561356 (2.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 220  bytes 15212 (14.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 220  bytes 15212 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5837f50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5837f50>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5837f50>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 16059  bytes 4632068 (4.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19132  bytes 2572226 (2.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 220  bytes 15212 (14.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 220  bytes 15212 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb584dfb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584dfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584dfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 16127  bytes 4647459 (4.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19194  bytes 2580585 (2.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 220  bytes 15212 (14.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 220  bytes 15212 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb583ff90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583ff90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583ff90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 16180  bytes 4660973 (4.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19247  bytes 2588191 (2.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 220  bytes 15212 (14.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 220  bytes 15212 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57effd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57effd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57effd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 16263  bytes 4684750 (4.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19329  bytes 2598709 (2.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 220  bytes 15212 (14.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 220  bytes 15212 (14.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58bb170>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58bb170>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58bb170>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 16309  bytes 4698089 (4.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19390  bytes 2607067 (2.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 225  bytes 15512 (15.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 225  bytes 15512 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5817fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5817fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5817fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 16384  bytes 4718816 (4.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19475  bytes 2617921 (2.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 227  bytes 15632 (15.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 227  bytes 15632 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5803130>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5803130>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5803130>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 16455  bytes 4736975 (4.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19565  bytes 2630450 (2.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 227  bytes 15632 (15.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 227  bytes 15632 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5811fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5811fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5811fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 16532  bytes 4752993 (4.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19634  bytes 2639497 (2.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 227  bytes 15632 (15.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 227  bytes 15632 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb584bf90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584bf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584bf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 16598  bytes 4772999 (4.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19716  bytes 2650005 (2.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 227  bytes 15632 (15.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 227  bytes 15632 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57f2490>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f2490>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f2490>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 16653  bytes 4787031 (4.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19783  bytes 2658882 (2.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 227  bytes 15632 (15.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 227  bytes 15632 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb582bfd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582bfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582bfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 16710  bytes 4806400 (4.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19858  bytes 2668920 (2.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 227  bytes 15632 (15.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 227  bytes 15632 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5df04d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5df04d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5df04d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 16761  bytes 4820137 (4.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19921  bytes 2677363 (2.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 227  bytes 15632 (15.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 227  bytes 15632 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5867f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5867f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5867f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 16802  bytes 4833102 (4.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19981  bytes 2685571 (2.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 227  bytes 15632 (15.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 227  bytes 15632 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57ebf90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57ebf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57ebf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 16871  bytes 4854019 (4.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20055  bytes 2695579 (2.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 227  bytes 15632 (15.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 227  bytes 15632 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5831ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5831ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5831ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 16945  bytes 4869673 (4.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20121  bytes 2704348 (2.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 227  bytes 15632 (15.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 227  bytes 15632 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5841ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5841ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5841ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 17019  bytes 4890551 (4.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20194  bytes 2714165 (2.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 227  bytes 15632 (15.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 227  bytes 15632 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58d2fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58d2fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58d2fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 17085  bytes 4906640 (4.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20266  bytes 2723334 (2.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 231  bytes 15872 (15.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 231  bytes 15872 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58c9130>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c9130>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c9130>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 17180  bytes 4936918 (4.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20329  bytes 2731912 (2.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 234  bytes 16052 (15.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 234  bytes 16052 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58a5fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a5fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a5fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 17276  bytes 4972608 (4.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20416  bytes 2742972 (2.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 234  bytes 16052 (15.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 234  bytes 16052 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb586afb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586afb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586afb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 17482  bytes 5032504 (4.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20507  bytes 2755924 (2.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 234  bytes 16052 (15.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 234  bytes 16052 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58a4fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a4fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a4fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 17562  bytes 5056900 (4.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20591  bytes 2766814 (2.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 234  bytes 16052 (15.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 234  bytes 16052 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57fafb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fafb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fafb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 17628  bytes 5072106 (4.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20648  bytes 2774671 (2.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 234  bytes 16052 (15.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 234  bytes 16052 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5848f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5848f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5848f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 17668  bytes 5084901 (4.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20701  bytes 2782331 (2.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 234  bytes 16052 (15.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 234  bytes 16052 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58b2fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b2fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b2fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 17726  bytes 5104217 (4.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20780  bytes 2792605 (2.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 234  bytes 16052 (15.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 234  bytes 16052 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb586bf90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586bf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586bf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 17780  bytes 5117814 (4.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20833  bytes 2800251 (2.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 234  bytes 16052 (15.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 234  bytes 16052 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5832130>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5832130>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5832130>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 17850  bytes 5139210 (4.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20912  bytes 2810566 (2.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 234  bytes 16052 (15.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 234  bytes 16052 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5864fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5864fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5864fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 17900  bytes 5153143 (4.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20976  bytes 2819128 (2.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 234  bytes 16052 (15.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 234  bytes 16052 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57fd110>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fd110>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fd110>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 17963  bytes 5167803 (4.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21037  bytes 2827469 (2.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 234  bytes 16052 (15.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 234  bytes 16052 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5834f50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5834f50>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5834f50>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 18016  bytes 5186801 (4.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21116  bytes 2837782 (2.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 234  bytes 16052 (15.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 234  bytes 16052 (15.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58a9f70>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a9f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a9f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 18064  bytes 5200268 (4.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21179  bytes 2846199 (2.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 240  bytes 16412 (16.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 240  bytes 16412 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5887fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5887fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5887fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 18123  bytes 5219933 (4.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21254  bytes 2856228 (2.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 241  bytes 16472 (16.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 241  bytes 16472 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5830150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5830150>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5830150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 18198  bytes 5238202 (4.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21345  bytes 2868839 (2.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 241  bytes 16472 (16.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 241  bytes 16472 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57e5ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e5ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e5ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 18242  bytes 5251152 (5.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21398  bytes 2876491 (2.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 241  bytes 16472 (16.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 241  bytes 16472 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5876150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5876150>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5876150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 18307  bytes 5271128 (5.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21472  bytes 2886374 (2.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 241  bytes 16472 (16.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 241  bytes 16472 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5813bb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5813bb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5813bb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 18352  bytes 5284296 (5.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21534  bytes 2894691 (2.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 241  bytes 16472 (16.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 241  bytes 16472 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb581f490>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581f490>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581f490>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 18472  bytes 5321938 (5.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21615  bytes 2905412 (2.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 241  bytes 16472 (16.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 241  bytes 16472 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5821ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5821ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5821ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 18531  bytes 5336709 (5.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21694  bytes 2915220 (2.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 241  bytes 16472 (16.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 241  bytes 16472 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58b6fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b6fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b6fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 18595  bytes 5351725 (5.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21748  bytes 2922846 (2.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 241  bytes 16472 (16.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 241  bytes 16472 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5838fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5838fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5838fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 18692  bytes 5386504 (5.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21829  bytes 2933321 (2.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 241  bytes 16472 (16.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 241  bytes 16472 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58b9170>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b9170>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b9170>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 18791  bytes 5415960 (5.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21896  bytes 2942352 (2.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 241  bytes 16472 (16.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 241  bytes 16472 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb581e330>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581e330>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581e330>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 18857  bytes 5439651 (5.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21979  bytes 2952996 (2.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 241  bytes 16472 (16.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 241  bytes 16472 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5870fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5870fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5870fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 18912  bytes 5454512 (5.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22034  bytes 2960713 (2.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 247  bytes 16832 (16.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 247  bytes 16832 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb583f4f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583f4f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583f4f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 18950  bytes 5467206 (5.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22087  bytes 2968380 (2.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 248  bytes 16892 (16.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 248  bytes 16892 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58374d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58374d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58374d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 19140  bytes 5533640 (5.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22205  bytes 2984017 (2.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 248  bytes 16892 (16.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 248  bytes 16892 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb589bff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589bff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589bff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 19186  bytes 5548590 (5.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22263  bytes 2991985 (2.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 248  bytes 16892 (16.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 248  bytes 16892 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb583ffd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583ffd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583ffd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 19271  bytes 5571302 (5.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22346  bytes 3002741 (2.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 248  bytes 16892 (16.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 248  bytes 16892 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57f80b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f80b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f80b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 19324  bytes 5585510 (5.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22411  bytes 3011355 (2.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 248  bytes 16892 (16.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 248  bytes 16892 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57e5fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e5fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e5fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 19417  bytes 5615615 (5.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22481  bytes 3020436 (2.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 248  bytes 16892 (16.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 248  bytes 16892 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58c3fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c3fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c3fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 19511  bytes 5651159 (5.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22569  bytes 3031655 (2.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 248  bytes 16892 (16.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 248  bytes 16892 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58b5ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b5ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b5ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 19563  bytes 5664869 (5.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22628  bytes 3039809 (2.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 248  bytes 16892 (16.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 248  bytes 16892 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5817fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5817fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5817fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 19622  bytes 5685195 (5.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22704  bytes 3049945 (2.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 248  bytes 16892 (16.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 248  bytes 16892 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5875ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5875ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5875ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 19677  bytes 5699219 (5.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22761  bytes 3057833 (2.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 248  bytes 16892 (16.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 248  bytes 16892 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5831ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5831ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5831ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 19781  bytes 5731413 (5.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22823  bytes 3066245 (2.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 248  bytes 16892 (16.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 248  bytes 16892 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb582e5f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582e5f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582e5f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 19901  bytes 5763982 (5.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22908  bytes 3077226 (2.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 253  bytes 17192 (16.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 253  bytes 17192 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57eafd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57eafd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57eafd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 19986  bytes 5793493 (5.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22975  bytes 3086022 (2.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 255  bytes 17312 (16.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 255  bytes 17312 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58b8f70>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b8f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b8f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 20070  bytes 5818288 (5.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23079  bytes 3100363 (2.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 255  bytes 17312 (16.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 255  bytes 17312 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58624d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58624d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58624d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 20129  bytes 5833828 (5.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23151  bytes 3109469 (2.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 255  bytes 17312 (16.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 255  bytes 17312 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58c3fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c3fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c3fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 20178  bytes 5847282 (5.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23208  bytes 3117483 (2.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 255  bytes 17312 (16.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 255  bytes 17312 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5883fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5883fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5883fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 20254  bytes 5868331 (5.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23287  bytes 3127787 (2.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 255  bytes 17312 (16.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 255  bytes 17312 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb582bfb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582bfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582bfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 20304  bytes 5882413 (5.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23344  bytes 3135781 (2.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 255  bytes 17312 (16.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 255  bytes 17312 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57d7f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d7f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d7f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 20375  bytes 5903882 (5.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23428  bytes 3146679 (3.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 255  bytes 17312 (16.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 255  bytes 17312 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58b5fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b5fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b5fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 20431  bytes 5917843 (5.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23483  bytes 3154417 (3.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 255  bytes 17312 (16.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 255  bytes 17312 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb585bfb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585bfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585bfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 20484  bytes 5931709 (5.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23538  bytes 3162245 (3.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 255  bytes 17312 (16.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 255  bytes 17312 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5861190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5861190>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5861190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 20562  bytes 5954143 (5.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23620  bytes 3172888 (3.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 255  bytes 17312 (16.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 255  bytes 17312 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb585aff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585aff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585aff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 20605  bytes 5967216 (5.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23676  bytes 3180751 (3.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 255  bytes 17312 (16.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 255  bytes 17312 (16.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5878fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5878fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5878fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 20673  bytes 5987647 (5.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23758  bytes 3191245 (3.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 260  bytes 17612 (17.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 260  bytes 17612 (17.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58baff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58baff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58baff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 20733  bytes 6002778 (5.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23825  bytes 3200112 (3.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 262  bytes 17732 (17.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 262  bytes 17732 (17.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58aefd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58aefd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58aefd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 20808  bytes 6020909 (5.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23910  bytes 3212166 (3.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 262  bytes 17732 (17.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 262  bytes 17732 (17.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb583bfd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583bfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583bfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 20867  bytes 6040524 (5.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23983  bytes 3222065 (3.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 262  bytes 17732 (17.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 262  bytes 17732 (17.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb585eeb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585eeb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585eeb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 20927  bytes 6054906 (5.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24047  bytes 3230718 (3.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 262  bytes 17732 (17.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 262  bytes 17732 (17.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58c7fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c7fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c7fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 20985  bytes 6074416 (5.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24125  bytes 3241050 (3.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 262  bytes 17732 (17.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 262  bytes 17732 (17.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57e0fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e0fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e0fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 21033  bytes 6087787 (5.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24187  bytes 3249289 (3.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 262  bytes 17732 (17.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 262  bytes 17732 (17.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58b7ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b7ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b7ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 21089  bytes 6102671 (5.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24248  bytes 3257636 (3.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 262  bytes 17732 (17.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 262  bytes 17732 (17.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb584bff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584bff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584bff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 21149  bytes 6122133 (5.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24320  bytes 3267428 (3.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 262  bytes 17732 (17.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 262  bytes 17732 (17.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb585cff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585cff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585cff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 21199  bytes 6136755 (5.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24382  bytes 3275770 (3.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 262  bytes 17732 (17.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 262  bytes 17732 (17.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5870fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5870fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5870fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 21258  bytes 6156432 (5.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24454  bytes 3285562 (3.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 262  bytes 17732 (17.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 262  bytes 17732 (17.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5839f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5839f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5839f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 21353  bytes 6178776 (5.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24522  bytes 3294429 (3.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 262  bytes 17732 (17.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 262  bytes 17732 (17.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58042b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58042b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58042b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 21403  bytes 6192219 (5.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24577  bytes 3302316 (3.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 265  bytes 17912 (17.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 265  bytes 17912 (17.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb588d510>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588d510>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588d510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 21460  bytes 6211691 (5.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24658  bytes 3312781 (3.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 269  bytes 18152 (17.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 269  bytes 18152 (17.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5834f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5834f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5834f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 21507  bytes 6225014 (5.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24714  bytes 3320687 (3.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 269  bytes 18152 (17.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 269  bytes 18152 (17.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58a1fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a1fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a1fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 21587  bytes 6249078 (5.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24824  bytes 3335615 (3.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 269  bytes 18152 (17.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 269  bytes 18152 (17.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5863f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5863f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5863f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 21635  bytes 6262311 (5.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24881  bytes 3343485 (3.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 269  bytes 18152 (17.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 269  bytes 18152 (17.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58a2ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a2ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a2ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 21681  bytes 6275496 (5.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24937  bytes 3351336 (3.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 269  bytes 18152 (17.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 269  bytes 18152 (17.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5852fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5852fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5852fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 21747  bytes 6295622 (6.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25012  bytes 3361338 (3.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 269  bytes 18152 (17.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 269  bytes 18152 (17.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57d6150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d6150>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d6150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 21797  bytes 6309120 (6.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25067  bytes 3369277 (3.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 269  bytes 18152 (17.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 269  bytes 18152 (17.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58051b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58051b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58051b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 21855  bytes 6328599 (6.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25147  bytes 3379660 (3.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 269  bytes 18152 (17.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 269  bytes 18152 (17.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58bc210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58bc210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58bc210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 21909  bytes 6342847 (6.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25214  bytes 3388526 (3.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 269  bytes 18152 (17.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 269  bytes 18152 (17.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5857ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5857ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5857ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 21956  bytes 6356396 (6.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25272  bytes 3396500 (3.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 269  bytes 18152 (17.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 269  bytes 18152 (17.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58aefd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58aefd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58aefd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 22019  bytes 6376244 (6.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25349  bytes 3406702 (3.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 269  bytes 18152 (17.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 269  bytes 18152 (17.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5848ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5848ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5848ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 22068  bytes 6389881 (6.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25415  bytes 3415524 (3.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 269  bytes 18152 (17.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 269  bytes 18152 (17.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58a5ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a5ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a5ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 22142  bytes 6410766 (6.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25497  bytes 3426244 (3.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 275  bytes 18512 (18.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 275  bytes 18512 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb587e490>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587e490>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587e490>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 22231  bytes 6432127 (6.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25562  bytes 3434867 (3.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 276  bytes 18572 (18.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 276  bytes 18572 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5823fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5823fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5823fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 22327  bytes 6453012 (6.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25642  bytes 3446596 (3.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 276  bytes 18572 (18.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 276  bytes 18572 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb585c3b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585c3b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb585c3b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 22401  bytes 6474707 (6.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25721  bytes 3456871 (3.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 276  bytes 18572 (18.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 276  bytes 18572 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57e1f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e1f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e1f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 22462  bytes 6489764 (6.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25788  bytes 3465857 (3.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 276  bytes 18572 (18.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 276  bytes 18572 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5875fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5875fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5875fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 22527  bytes 6509607 (6.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25862  bytes 3475790 (3.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 276  bytes 18572 (18.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 276  bytes 18572 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58164f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58164f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58164f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 22584  bytes 6524178 (6.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25935  bytes 3485008 (3.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 276  bytes 18572 (18.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 276  bytes 18572 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58a2f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a2f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a2f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 22633  bytes 6537426 (6.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25986  bytes 3492443 (3.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 276  bytes 18572 (18.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 276  bytes 18572 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb587afd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587afd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587afd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 22714  bytes 6558915 (6.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26074  bytes 3503579 (3.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 276  bytes 18572 (18.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 276  bytes 18572 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58cbff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58cbff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58cbff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 22788  bytes 6575173 (6.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26136  bytes 3512239 (3.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 276  bytes 18572 (18.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 276  bytes 18572 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57ffef0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57ffef0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57ffef0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 22857  bytes 6595794 (6.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26219  bytes 3522945 (3.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 276  bytes 18572 (18.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 276  bytes 18572 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb582e110>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582e110>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582e110>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 22921  bytes 6610757 (6.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26280  bytes 3531229 (3.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 276  bytes 18572 (18.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 276  bytes 18572 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb582bb30>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582bb30>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582bb30>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 22964  bytes 6623810 (6.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26338  bytes 3539261 (3.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 282  bytes 18932 (18.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 282  bytes 18932 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58afff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58afff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58afff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 23092  bytes 6655721 (6.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26421  bytes 3549929 (3.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 283  bytes 18992 (18.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 283  bytes 18992 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5864fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5864fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5864fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 23171  bytes 6676059 (6.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26501  bytes 3561875 (3.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 283  bytes 18992 (18.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 283  bytes 18992 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5804fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5804fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5804fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 23235  bytes 6697056 (6.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26583  bytes 3572387 (3.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 283  bytes 18992 (18.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 283  bytes 18992 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57defd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57defd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57defd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 23291  bytes 6711513 (6.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26650  bytes 3581294 (3.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 283  bytes 18992 (18.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 283  bytes 18992 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb582ef10>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582ef10>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582ef10>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 23343  bytes 6725121 (6.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26711  bytes 3589488 (3.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 283  bytes 18992 (18.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 283  bytes 18992 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb581ce90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581ce90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581ce90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 23405  bytes 6745528 (6.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26787  bytes 3599542 (3.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 283  bytes 18992 (18.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 283  bytes 18992 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5848f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5848f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5848f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 23460  bytes 6760758 (6.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26854  bytes 3608453 (3.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 283  bytes 18992 (18.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 283  bytes 18992 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57e8f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e8f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e8f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 23527  bytes 6780885 (6.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26927  bytes 3618353 (3.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 283  bytes 18992 (18.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 283  bytes 18992 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58572d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58572d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58572d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 23588  bytes 6795453 (6.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26993  bytes 3627065 (3.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 283  bytes 18992 (18.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 283  bytes 18992 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5821ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5821ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5821ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 23631  bytes 6808362 (6.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27048  bytes 3634828 (3.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 283  bytes 18992 (18.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 283  bytes 18992 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5871230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5871230>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5871230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 23692  bytes 6828498 (6.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27124  bytes 3644840 (3.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 283  bytes 18992 (18.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 283  bytes 18992 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58b2fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b2fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b2fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 23754  bytes 6845390 (6.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27186  bytes 3653229 (3.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 288  bytes 19292 (18.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 288  bytes 19292 (18.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5861fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5861fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5861fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 23822  bytes 6866108 (6.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27259  bytes 3663087 (3.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 290  bytes 19412 (18.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 290  bytes 19412 (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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5846fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5846fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5846fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 23914  bytes 6887085 (6.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27355  bytes 3676116 (3.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 290  bytes 19412 (18.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 290  bytes 19412 (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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb587afd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587afd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587afd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 23959  bytes 6900380 (6.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27408  bytes 3683736 (3.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 290  bytes 19412 (18.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 290  bytes 19412 (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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57fdeb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fdeb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fdeb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 24029  bytes 6920825 (6.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27493  bytes 3694505 (3.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 290  bytes 19412 (18.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 290  bytes 19412 (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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5857fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5857fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5857fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 24073  bytes 6934000 (6.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27553  bytes 3702864 (3.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 290  bytes 19412 (18.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 290  bytes 19412 (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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57f0ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f0ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f0ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 24139  bytes 6954668 (6.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27635  bytes 3713464 (3.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 290  bytes 19412 (18.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 290  bytes 19412 (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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58c8350>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c8350>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c8350>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 24195  bytes 6969199 (6.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27691  bytes 3721269 (3.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 290  bytes 19412 (18.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 290  bytes 19412 (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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5866fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5866fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5866fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 24246  bytes 6982815 (6.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27750  bytes 3729367 (3.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 290  bytes 19412 (18.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 290  bytes 19412 (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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5827050>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5827050>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5827050>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 24314  bytes 7003268 (6.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27830  bytes 3739881 (3.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 290  bytes 19412 (18.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 290  bytes 19412 (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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57f0110>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f0110>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f0110>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 24360  bytes 7016513 (6.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27882  bytes 3747410 (3.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 290  bytes 19412 (18.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 290  bytes 19412 (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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58cd2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58cd2b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58cd2b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 24438  bytes 7037721 (6.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27967  bytes 3758312 (3.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 290  bytes 19412 (18.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 290  bytes 19412 (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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57da0f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57da0f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57da0f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 24505  bytes 7053228 (6.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28030  bytes 3766787 (3.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 295  bytes 19712 (19.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 295  bytes 19712 (19.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb584eff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584eff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584eff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 24572  bytes 7068332 (6.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28090  bytes 3774914 (3.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 297  bytes 19832 (19.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 297  bytes 19832 (19.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb580d150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb580d150>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb580d150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 24659  bytes 7093226 (6.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28193  bytes 3789191 (3.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 297  bytes 19832 (19.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 297  bytes 19832 (19.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58c9fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c9fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c9fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 24715  bytes 7107377 (6.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28259  bytes 3797997 (3.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 297  bytes 19832 (19.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 297  bytes 19832 (19.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb586cf70>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586cf70>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586cf70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 24789  bytes 7128194 (6.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28338  bytes 3808304 (3.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 297  bytes 19832 (19.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 297  bytes 19832 (19.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb587bfb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587bfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587bfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 24843  bytes 7142105 (6.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28401  bytes 3816646 (3.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 297  bytes 19832 (19.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 297  bytes 19832 (19.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5864fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5864fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5864fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 24891  bytes 7155625 (6.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28455  bytes 3824324 (3.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 297  bytes 19832 (19.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 297  bytes 19832 (19.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5874130>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5874130>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5874130>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 24958  bytes 7176992 (6.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28532  bytes 3834493 (3.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 297  bytes 19832 (19.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 297  bytes 19832 (19.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58cc150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58cc150>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58cc150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 25028  bytes 7192625 (6.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28592  bytes 3842807 (3.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 297  bytes 19832 (19.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 297  bytes 19832 (19.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb581fb10>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581fb10>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581fb10>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 25082  bytes 7211701 (6.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28664  bytes 3852541 (3.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 297  bytes 19832 (19.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 297  bytes 19832 (19.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb589dff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589dff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589dff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 25164  bytes 7228756 (6.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28741  bytes 3862190 (3.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 297  bytes 19832 (19.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 297  bytes 19832 (19.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58b71d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b71d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b71d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 25216  bytes 7242181 (6.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28792  bytes 3869645 (3.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 297  bytes 19832 (19.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 297  bytes 19832 (19.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58d0110>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58d0110>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58d0110>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 25298  bytes 7263948 (6.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28879  bytes 3880526 (3.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 300  bytes 20012 (19.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 300  bytes 20012 (19.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5824fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5824fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5824fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 25346  bytes 7277242 (6.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28936  bytes 3888476 (3.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 304  bytes 20252 (19.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 304  bytes 20252 (19.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58284b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58284b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58284b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 25423  bytes 7298851 (6.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29015  bytes 3898814 (3.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 304  bytes 20252 (19.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 304  bytes 20252 (19.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5869110>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5869110>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5869110>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 25491  bytes 7316393 (6.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29093  bytes 3910325 (3.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 304  bytes 20252 (19.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 304  bytes 20252 (19.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5857ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5857ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5857ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 25550  bytes 7330728 (6.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29151  bytes 3918296 (3.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 304  bytes 20252 (19.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 304  bytes 20252 (19.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5855fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5855fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5855fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 25620  bytes 7351331 (7.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29232  bytes 3928851 (3.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 304  bytes 20252 (19.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 304  bytes 20252 (19.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57e0ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e0ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e0ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 25681  bytes 7365900 (7.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29285  bytes 3936510 (3.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 304  bytes 20252 (19.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 304  bytes 20252 (19.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57e6170>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e6170>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e6170>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 25742  bytes 7385630 (7.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29363  bytes 3946722 (3.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 304  bytes 20252 (19.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 304  bytes 20252 (19.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5889ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5889ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5889ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 25798  bytes 7400030 (7.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29427  bytes 3955243 (3.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 304  bytes 20252 (19.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 304  bytes 20252 (19.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb584a4d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584a4d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584a4d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 25846  bytes 7413540 (7.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29492  bytes 3963868 (3.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 304  bytes 20252 (19.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 304  bytes 20252 (19.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58b0af0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b0af0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b0af0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 25927  bytes 7435967 (7.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29565  bytes 3973746 (3.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 304  bytes 20252 (19.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 304  bytes 20252 (19.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5872fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5872fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5872fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 25989  bytes 7450973 (7.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29635  bytes 3982842 (3.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 304  bytes 20252 (19.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 304  bytes 20252 (19.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5805150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5805150>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5805150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 26057  bytes 7471227 (7.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29710  bytes 3992885 (3.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 304  bytes 20252 (19.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 304  bytes 20252 (19.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58cdfd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58cdfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58cdfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 26119  bytes 7486156 (7.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29774  bytes 4001431 (3.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 310  bytes 20612 (20.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 310  bytes 20612 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb584af70>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584af70>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584af70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 26173  bytes 7500106 (7.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29829  bytes 4009186 (3.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 311  bytes 20672 (20.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 311  bytes 20672 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb580c1d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb580c1d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb580c1d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 26255  bytes 7524145 (7.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29931  bytes 4023234 (3.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 311  bytes 20672 (20.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 311  bytes 20672 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5888fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5888fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5888fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 26314  bytes 7539640 (7.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29996  bytes 4031860 (3.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 311  bytes 20672 (20.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 311  bytes 20672 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb588ef30>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588ef30>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588ef30>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 26380  bytes 7560516 (7.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30069  bytes 4041711 (3.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 311  bytes 20672 (20.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 311  bytes 20672 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57d54b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d54b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d54b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 26441  bytes 7575898 (7.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30140  bytes 4050817 (3.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 311  bytes 20672 (20.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 311  bytes 20672 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58c3ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c3ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c3ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 26499  bytes 7590223 (7.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30197  bytes 4058793 (3.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 311  bytes 20672 (20.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 311  bytes 20672 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5855fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5855fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5855fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 26577  bytes 7613092 (7.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30280  bytes 4069431 (3.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 311  bytes 20672 (20.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 311  bytes 20672 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb586bfd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586bfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586bfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 26627  bytes 7626507 (7.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30334  bytes 4077205 (3.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 311  bytes 20672 (20.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 311  bytes 20672 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57e2f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e2f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e2f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 26692  bytes 7647135 (7.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30413  bytes 4087567 (3.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 311  bytes 20672 (20.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 311  bytes 20672 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb587bfb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587bfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587bfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 26740  bytes 7660531 (7.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30473  bytes 4095804 (3.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 311  bytes 20672 (20.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 311  bytes 20672 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5821f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5821f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5821f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 26796  bytes 7674994 (7.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30533  bytes 4103948 (3.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 311  bytes 20672 (20.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 311  bytes 20672 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5873510>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5873510>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5873510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 26866  bytes 7695292 (7.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30612  bytes 4114184 (3.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.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 21032 (20.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 317  bytes 21032 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58101b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58101b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58101b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 26929  bytes 7710609 (7.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30673  bytes 4122566 (3.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 318  bytes 21092 (20.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 318  bytes 21092 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57f3fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f3fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f3fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 27003  bytes 7733981 (7.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30776  bytes 4136691 (3.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 318  bytes 21092 (20.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 318  bytes 21092 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58cdf90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58cdf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58cdf90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 27075  bytes 7749615 (7.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30843  bytes 4145446 (3.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 318  bytes 21092 (20.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 318  bytes 21092 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5864ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5864ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5864ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 27145  bytes 7764742 (7.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30902  bytes 4153452 (3.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 318  bytes 21092 (20.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 318  bytes 21092 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5897350>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5897350>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5897350>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 27217  bytes 7785695 (7.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30985  bytes 4164176 (3.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 318  bytes 21092 (20.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 318  bytes 21092 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb584df70>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584df70>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584df70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 27264  bytes 7799200 (7.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31048  bytes 4172604 (3.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 318  bytes 21092 (20.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 318  bytes 21092 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb588f150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588f150>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588f150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 27340  bytes 7820236 (7.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31121  bytes 4182495 (3.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 318  bytes 21092 (20.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 318  bytes 21092 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5842f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5842f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5842f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 27389  bytes 7833644 (7.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31184  bytes 4190769 (3.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 318  bytes 21092 (20.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 318  bytes 21092 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58113f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58113f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58113f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 27447  bytes 7847855 (7.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31239  bytes 4198549 (4.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 318  bytes 21092 (20.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 318  bytes 21092 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58ab150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58ab150>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58ab150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 27519  bytes 7869015 (7.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31323  bytes 4209351 (4.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 318  bytes 21092 (20.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 318  bytes 21092 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57f6ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f6ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f6ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 27568  bytes 7882312 (7.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31378  bytes 4217123 (4.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 318  bytes 21092 (20.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 318  bytes 21092 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58c4ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c4ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c4ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 27650  bytes 7903501 (7.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31450  bytes 4226865 (4.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 323  bytes 21392 (20.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 323  bytes 21392 (20.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57ecfb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57ecfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57ecfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 27711  bytes 7918549 (7.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31525  bytes 4236383 (4.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 325  bytes 21512 (21.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 325  bytes 21512 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57f5fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f5fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f5fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 27790  bytes 7937387 (7.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31608  bytes 4248200 (4.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 325  bytes 21512 (21.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 325  bytes 21512 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57e5fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e5fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e5fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 27899  bytes 7972621 (7.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31697  bytes 4259377 (4.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 325  bytes 21512 (21.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 325  bytes 21512 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58a7ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a7ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a7ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 27955  bytes 7987946 (7.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31752  bytes 4267219 (4.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 325  bytes 21512 (21.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 325  bytes 21512 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57d6ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d6ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d6ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 28011  bytes 8007386 (7.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31834  bytes 4277799 (4.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 325  bytes 21512 (21.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 325  bytes 21512 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5886fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5886fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5886fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 28071  bytes 8021558 (7.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31894  bytes 4286060 (4.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 325  bytes 21512 (21.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 325  bytes 21512 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb581cfb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581cfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581cfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 28121  bytes 8035029 (7.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31954  bytes 4294232 (4.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 325  bytes 21512 (21.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 325  bytes 21512 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58c6fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c6fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c6fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 28185  bytes 8054878 (7.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32028  bytes 4304089 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 325  bytes 21512 (21.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 325  bytes 21512 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb583eb90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583eb90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583eb90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 28230  bytes 8068464 (7.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32085  bytes 4312081 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 325  bytes 21512 (21.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 325  bytes 21512 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58c8490>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c8490>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c8490>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 28314  bytes 8092066 (7.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32163  bytes 4322464 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 325  bytes 21512 (21.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 325  bytes 21512 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58d3fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58d3fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58d3fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 28376  bytes 8107106 (7.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32227  bytes 4331027 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 325  bytes 21512 (21.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 325  bytes 21512 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5826fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5826fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5826fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 28427  bytes 8120993 (7.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32289  bytes 4339248 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 330  bytes 21812 (21.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 330  bytes 21812 (21.3 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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5839fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5839fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5839fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 28494  bytes 8141256 (7.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32364  bytes 4349281 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 332  bytes 21932 (21.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 332  bytes 21932 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58bbfb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58bbfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58bbfb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 28571  bytes 8159591 (7.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32454  bytes 4361804 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 332  bytes 21932 (21.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 332  bytes 21932 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57f7f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f7f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f7f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 28643  bytes 8180480 (7.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32536  bytes 4372450 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 332  bytes 21932 (21.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 332  bytes 21932 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5897f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5897f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5897f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 28703  bytes 8194999 (7.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32601  bytes 4380865 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 332  bytes 21932 (21.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 332  bytes 21932 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58affb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58affb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58affb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 28753  bytes 8209603 (7.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32661  bytes 4389123 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 332  bytes 21932 (21.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 332  bytes 21932 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb589aff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589aff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589aff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 28820  bytes 8229634 (7.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32741  bytes 4399420 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 332  bytes 21932 (21.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 332  bytes 21932 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb587ffd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587ffd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587ffd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 28860  bytes 8242458 (7.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32802  bytes 4407737 (4.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 332  bytes 21932 (21.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 332  bytes 21932 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58c5210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c5210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c5210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 28959  bytes 8276875 (7.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32880  bytes 4418044 (4.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 332  bytes 21932 (21.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 332  bytes 21932 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5805190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5805190>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5805190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 29023  bytes 8293260 (7.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32950  bytes 4427065 (4.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 332  bytes 21932 (21.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 332  bytes 21932 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5863fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5863fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5863fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 29083  bytes 8307718 (7.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33007  bytes 4435106 (4.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 332  bytes 21932 (21.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 332  bytes 21932 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57e7fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e7fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e7fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 29156  bytes 8328437 (7.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33091  bytes 4445811 (4.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 332  bytes 21932 (21.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 332  bytes 21932 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb587aff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587aff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587aff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 29201  bytes 8341700 (7.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33148  bytes 4453973 (4.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 335  bytes 22112 (21.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 335  bytes 22112 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb586eff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586eff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb586eff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 29271  bytes 8362086 (7.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33230  bytes 4464554 (4.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 339  bytes 22352 (21.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 339  bytes 22352 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58174b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58174b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58174b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 29322  bytes 8375685 (7.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33286  bytes 4472344 (4.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 339  bytes 22352 (21.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 339  bytes 22352 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb584efd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584efd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584efd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 29387  bytes 8393278 (8.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33376  bytes 4484998 (4.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 339  bytes 22352 (21.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 339  bytes 22352 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57f8fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f8fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f8fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 29449  bytes 8413133 (8.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33451  bytes 4494923 (4.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 339  bytes 22352 (21.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 339  bytes 22352 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57d73b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d73b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57d73b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 29500  bytes 8426709 (8.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33510  bytes 4503047 (4.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 339  bytes 22352 (21.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 339  bytes 22352 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb587ef90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587ef90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587ef90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 29566  bytes 8446910 (8.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33590  bytes 4513531 (4.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 339  bytes 22352 (21.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 339  bytes 22352 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58aa150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58aa150>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58aa150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 29623  bytes 8461323 (8.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33656  bytes 4522250 (4.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 339  bytes 22352 (21.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 339  bytes 22352 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58b6fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b6fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b6fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 29681  bytes 8475840 (8.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33720  bytes 4530707 (4.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 339  bytes 22352 (21.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 339  bytes 22352 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58a94d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a94d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a94d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 29749  bytes 8496118 (8.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33798  bytes 4541017 (4.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 339  bytes 22352 (21.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 339  bytes 22352 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5815ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5815ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5815ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 29806  bytes 8512012 (8.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33860  bytes 4549400 (4.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 339  bytes 22352 (21.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 339  bytes 22352 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57e4fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e4fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e4fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 29865  bytes 8531505 (8.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33935  bytes 4559445 (4.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 339  bytes 22352 (21.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 339  bytes 22352 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5885110>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5885110>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5885110>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 29917  bytes 8545142 (8.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33996  bytes 4567628 (4.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 339  bytes 22352 (21.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 339  bytes 22352 (21.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5807110>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5807110>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5807110>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 30010  bytes 8574542 (8.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34050  bytes 4575339 (4.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 345  bytes 22712 (22.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 345  bytes 22712 (22.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5855fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5855fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5855fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 30070  bytes 8594304 (8.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34136  bytes 4586235 (4.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 346  bytes 22772 (22.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 346  bytes 22772 (22.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5866f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5866f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5866f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 30135  bytes 8612315 (8.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34220  bytes 4598234 (4.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 346  bytes 22772 (22.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 346  bytes 22772 (22.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58b8fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b8fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58b8fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 30193  bytes 8631681 (8.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34290  bytes 4607869 (4.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 346  bytes 22772 (22.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 346  bytes 22772 (22.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb582c370>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582c370>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582c370>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 30259  bytes 8647432 (8.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34360  bytes 4616891 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 346  bytes 22772 (22.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 346  bytes 22772 (22.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb583afd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583afd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb583afd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 30310  bytes 8660918 (8.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34413  bytes 4624477 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 346  bytes 22772 (22.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 346  bytes 22772 (22.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58a2fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a2fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58a2fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 30383  bytes 8681702 (8.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34498  bytes 4635193 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 346  bytes 22772 (22.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 346  bytes 22772 (22.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb589cfd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589cfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb589cfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 30431  bytes 8694923 (8.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34552  bytes 4642946 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 346  bytes 22772 (22.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 346  bytes 22772 (22.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb584bfd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584bfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584bfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 30508  bytes 8716633 (8.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34638  bytes 4654008 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 346  bytes 22772 (22.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 346  bytes 22772 (22.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5828fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5828fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5828fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 30551  bytes 8729679 (8.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34697  bytes 4662154 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 346  bytes 22772 (22.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 346  bytes 22772 (22.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5860fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5860fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5860fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 30604  bytes 8743612 (8.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34756  bytes 4670242 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 346  bytes 22772 (22.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 346  bytes 22772 (22.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb581bed0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581bed0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581bed0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 30669  bytes 8763696 (8.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34833  bytes 4680320 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 346  bytes 22772 (22.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 346  bytes 22772 (22.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5873190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5873190>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5873190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 30735  bytes 8779338 (8.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34896  bytes 4688832 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 352  bytes 23132 (22.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 352  bytes 23132 (22.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57e5370>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e5370>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e5370>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 30800  bytes 8799248 (8.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34971  bytes 4698850 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 353  bytes 23192 (22.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 353  bytes 23192 (22.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb584ce90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584ce90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584ce90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 30872  bytes 8817626 (8.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35057  bytes 4711194 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 353  bytes 23192 (22.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 353  bytes 23192 (22.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb582dfd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582dfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582dfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 30935  bytes 8832238 (8.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35122  bytes 4719802 (4.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 353  bytes 23192 (22.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 353  bytes 23192 (22.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5808fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5808fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5808fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 31000  bytes 8852394 (8.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35197  bytes 4729812 (4.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 353  bytes 23192 (22.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 353  bytes 23192 (22.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb584bff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584bff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb584bff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 31050  bytes 8866122 (8.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35266  bytes 4738826 (4.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 353  bytes 23192 (22.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 353  bytes 23192 (22.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb582dff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582dff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb582dff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 31121  bytes 8886740 (8.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35343  bytes 4749000 (4.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 353  bytes 23192 (22.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 353  bytes 23192 (22.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5804fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5804fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5804fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 31175  bytes 8900574 (8.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35402  bytes 4757031 (4.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 353  bytes 23192 (22.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 353  bytes 23192 (22.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58c1ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c1ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58c1ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 31256  bytes 8928424 (8.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35457  bytes 4764809 (4.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 353  bytes 23192 (22.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 353  bytes 23192 (22.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58caff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58caff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58caff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 31322  bytes 8949273 (8.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35543  bytes 4775747 (4.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 353  bytes 23192 (22.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 353  bytes 23192 (22.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb588feb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588feb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588feb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 31380  bytes 8963917 (8.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35600  bytes 4783673 (4.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 353  bytes 23192 (22.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 353  bytes 23192 (22.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57e7f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e7f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e7f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 31452  bytes 8984832 (8.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35679  bytes 4794077 (4.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 353  bytes 23192 (22.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 353  bytes 23192 (22.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5841190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5841190>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5841190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 31520  bytes 9000355 (8.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35747  bytes 4802897 (4.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 358  bytes 23492 (22.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 358  bytes 23492 (22.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5880e30>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5880e30>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5880e30>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 31568  bytes 9013583 (8.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35798  bytes 4810309 (4.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 360  bytes 23612 (23.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 360  bytes 23612 (23.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb588df90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588df90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb588df90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 31665  bytes 9039166 (8.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35912  bytes 4825456 (4.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 360  bytes 23612 (23.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 360  bytes 23612 (23.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58abf10>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58abf10>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58abf10>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 31718  bytes 9052866 (8.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35969  bytes 4833448 (4.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 360  bytes 23612 (23.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 360  bytes 23612 (23.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5802f70>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5802f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5802f70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 31787  bytes 9073348 (8.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36052  bytes 4844108 (4.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 360  bytes 23612 (23.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 360  bytes 23612 (23.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5866fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5866fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5866fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 31838  bytes 9086918 (8.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36110  bytes 4852232 (4.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 360  bytes 23612 (23.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 360  bytes 23612 (23.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb581bfd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581bfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb581bfd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 31900  bytes 9101507 (8.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36170  bytes 4860406 (4.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 360  bytes 23612 (23.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 360  bytes 23612 (23.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb587af90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587af90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb587af90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 31965  bytes 9121444 (8.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36246  bytes 4870416 (4.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 360  bytes 23612 (23.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 360  bytes 23612 (23.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57e2fd0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e2fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57e2fd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 32014  bytes 9135097 (8.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36311  bytes 4879108 (4.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 360  bytes 23612 (23.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 360  bytes 23612 (23.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb58d1ff0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58d1ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb58d1ff0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 32087  bytes 9155956 (8.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36390  bytes 4889550 (4.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 360  bytes 23612 (23.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 360  bytes 23612 (23.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57f8fb0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f8fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57f8fb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 32141  bytes 9170112 (8.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36451  bytes 4897912 (4.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 360  bytes 23612 (23.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 360  bytes 23612 (23.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5838110>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5838110>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5838110>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 nb taken pictures : 0
outs: b'eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255\n        inet6 fe80::c59:9a6:37a6:af8c  prefixlen 64  scopeid 0x20<link>\n        inet6 2a01:cb08:10ab:e000:ff15:dbaa:a53e:c7fc  prefixlen 64  scopeid 0x0<global>\n        ether dc:a6:32:da:00:86  txqueuelen 1000  (Ethernet)\n        RX packets 32193  bytes 9183920 (8.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36510  bytes 4905916 (4.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 360  bytes 23612 (23.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 360  bytes 23612 (23.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:da:00:87  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2026/06/29/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-112-5.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 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.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 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/29062026/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 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", 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)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb57fa150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fa150>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb57fa150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
